detomas83
2016-08-22, 07:53 AM
Hello,
I have created a palette with several predefined blocks.
However, I would like to use the same block for several icons, by filling in specif attributes with different values.
Eg: Palette
Icon1-> BlockName: Block X, Attribute1: A
Icon2-> BlockName: Block X, Attribute1: B
Icon3-> BlockName: Block X, Attribute1: C
By having a look at the .xtp file I see the following tags regarding each icon of the palette:
<Block>
<BlockType></BlockType>
<BlockTypeEx></BlockTypeEx>
<BlockName></BlockName>
<SourceFile></SourceFile>
<InsertAs></InsertAs>
<XrefType></XrefType>
<Scale></Scale>
<AuxiliaryScale></AuxiliaryScale>
<Rotation></Rotation>
<PromptRotation></PromptRotation>
<Explode></Explode>
</Block>
<DynamicProperties/>
I would like to know how can I set the Attribute1 value within the xtp file for each icon.
Thanks in advance!
Cheers
I have created a palette with several predefined blocks.
However, I would like to use the same block for several icons, by filling in specif attributes with different values.
Eg: Palette
Icon1-> BlockName: Block X, Attribute1: A
Icon2-> BlockName: Block X, Attribute1: B
Icon3-> BlockName: Block X, Attribute1: C
By having a look at the .xtp file I see the following tags regarding each icon of the palette:
<Block>
<BlockType></BlockType>
<BlockTypeEx></BlockTypeEx>
<BlockName></BlockName>
<SourceFile></SourceFile>
<InsertAs></InsertAs>
<XrefType></XrefType>
<Scale></Scale>
<AuxiliaryScale></AuxiliaryScale>
<Rotation></Rotation>
<PromptRotation></PromptRotation>
<Explode></Explode>
</Block>
<DynamicProperties/>
I would like to know how can I set the Attribute1 value within the xtp file for each icon.
Thanks in advance!
Cheers