Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
204Е10
396 Views, 3 Replies

Ilogic Get the appearnce from the part to the drawing

Hi everyone,

 

I've tried to find the code for get the appearance of a part from the drawing and I don't want to use parameters the code would be something like the one shown below: 

 

modelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)
MessageBox.Show(iProperties.PartColor (modelName), "Title")

 

but unfortunately it doesn't work, someone can to help me with it?

Cheers