iX Talk

How to create a component object library.
Page 1 of 1

Author:  Ron L. [ Fri Mar 23, 2012 4:17 pm ]
Post subject:  How to create a component object library.

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 11570 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 11570 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 11570 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 11568 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 11570 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 11570 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 11570 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 11570 times ]

Author:  Ron L. [ Tue May 15, 2012 3:56 pm ]
Post subject:  Re: How to create a component object library.

Component group files.

St. Patrick Group.zip [57.87 KiB]
Downloaded 958 times

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group