Adding Recorable Subsets

This tutorial is an add on to the one by Ignorant Bliss at MTS, in that it will show you how to add a subset to be recolorable when one doesn’t exist.  The tutorial by Ignorant Bliss shows you  how to add an additional subset when the tsDesignModeEnabled is already there, but not how to add one and make an object recolorable.

 

Step

In the Plugin View, choose the Edit Blocks tab.  From the drop down list choose cDataListExtension, click add.

add-subset-1

You will see the added line on the left, but with no name.

add-subset-2

Step 2

For each line you add on the Edit Blocks tab you must add a line in the Data List Extension Reference on the cObjectGraphNode.  Click the add link on the right, change the Enabled value to true (0x01) and the Index to the next number (0x04).

add-subset-3

Step 4

Now we need to name that added cDataListExtension to tsDesignModeEnabled.  Select the unnamed cDataList Extension from the drop down list in  the Blicklist

add-subset-4

On the left side type in tsDesignModeEnabled for the Name.  On the right click the add button to add an array, select the added array and on the left place the name of the subset in the Name field.

add-subset-5

 

 

3 years ago