How to create a component object library.

Post Reply
User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

How to create a component object library.

Post by Ron L. »

This tutorial will be addressing how to create a custom "Component Library" group that can be distributed to other developers with pre-configured object settings or graphics. For this example, I will create set of objects and graphics with a St. Patrick's theme.

Create a new category. Right click on "ComponentLibrary" and select "New".
Snap 2012-03-23 at 15.30.55.jpg
Snap 2012-03-23 at 15.30.55.jpg (26.35 KiB) Viewed 22988 times
Rename the category. Select the new category, right click and select "Rename".
Snap 2012-03-23 at 15.33.55.jpg
Snap 2012-03-23 at 15.33.55.jpg (20.44 KiB) Viewed 22988 times
For this tutorial, I've created a screen with a set of themed objects.
Snap 2012-03-23 at 15.51.26.jpg
Snap 2012-03-23 at 15.51.26.jpg (42.78 KiB) Viewed 22988 times
Place a single object into the new component library group. Select the Image object, hold down the "Ctrl" key on your keyboard and drag to the "Component Library" area.
Snap 2012-03-23 at 16.25.05.jpg
Snap 2012-03-23 at 16.25.05.jpg (57.88 KiB) Viewed 22986 times
The new object in your component group will retain all property settings including tags and actions.

Put a grouped set of objects into the library. Select all objects on the screen, right click and select Group in the menu.
Snap 2012-03-23 at 16.00.53.jpg
Snap 2012-03-23 at 16.00.53.jpg (52.79 KiB) Viewed 22988 times
Drag this group into the component library.
Snap 2012-03-23 at 16.02.30.jpg
Snap 2012-03-23 at 16.02.30.jpg (17.81 KiB) Viewed 22988 times
Placed selected script into the component library.
Snap 2012-03-23 at 16.05.48.jpg
Snap 2012-03-23 at 16.05.48.jpg (43.7 KiB) Viewed 22988 times
To distribute your library files, go to "C:\Documents and Settings\All Users\Documents\Beijer Electronics AB\iX Developer 2\ComponentLibrary\" and copy the directory of your new group to be placed at the same location on another developers PC.
Snap 2012-03-23 at 16.12.48.jpg
Snap 2012-03-23 at 16.12.48.jpg (64.61 KiB) Viewed 22988 times
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer

User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Re: How to create a component object library.

Post by Ron L. »

Component group files.
Attachments
St. Patrick Group.zip
(57.87 KiB) Downloaded 1914 times

Post Reply