Message 1 of 3
How to add appearance from an assembly to the property of that assembly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have a code that adds the appearance from a part to a custom property inside that part:
Dim oDoc As Document oDoc = ThisDoc.Document If ThisDoc.Document.ActiveAppearance.DisplayName.Contains("RAL") then iProperties.Value("Custom", "Color") = Left(ThisDoc.Document.ActiveAppearance.DisplayName, 8) End If
But this code does not work when i change the color of an assembly inside an assembly. Now i want the following:
When i have parts and i make a welding assembly the parts are not colored. But when i place this welding assembly inside an assembly the parts are painted before assembling the wholl set. So i need to welding assembly to be colored inside the final assembly. But i don't know how. Any of you an idea?