- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Sandro,
In order to be able to set the material for the derived component, it's best to set its Derived Part Properties so that it's not inheriting the material color from the original part:
You do not even need to modify the iProperties but can simply rely on the Parameter values. I commented out the iProperty parts. I was also wondering in the beginning if it was interfering with things.
In the rules inside the sub assemblies you have to change something. You are using ThisApplication.ActiveDocument, but that will return the top assembly when the rule is called as a result of you changing parameters in the top assembly. You should use ThisDoc.Document instead, which return the document that the rule resides in.
Now all seems fine:
Attached is the modified zip.
Cheers,

Adam Nagy
Autodesk Platform Services