iLogic to set appearance from iproperty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i want to have the material surface treatment in the titleblock of the drawings and for this surface to also show in 3D.
so i have made a little appearance library with them all.
but now i need to figure out an easy solution to set them all.
i could one by one go into every part and write in a custom iProperty the definition and manually change the appearance at a part level (if i just change the appearance in the assembly the part still uses the generic appearance)
here is my initial idea of how some might try and solve it.
Assembly: (to set parts treatment)
Pop-up textbox with options and then
Try to set a custom iProperty of underlying part
If success then set appearance in at the part level
If fail just change appearance in assembly (this is for library parts that don't allow for editing)
Part: (get parts treatment whenever i save)
check if iProperty has been filled out
set appearance according to what is filled in the iProperty
Part: (to set parts treatment)
Pop-up textbox with options and set iProperty
Get appearance from custom iProperty
i've done quite a lot of extensive googling but every code setting the appearance through an assembly doesn't do it at the part level so when i open the part it's still the untextured grey default appearance