Document Settings > Copy Model iProperty settings

Document Settings > Copy Model iProperty settings

karthur1
Mentor Mentor
69 Views
1 Reply
Message 1 of 2

Document Settings > Copy Model iProperty settings

karthur1
Mentor
Mentor

This dialog is under Document Settings> Drawing tab > Copy Model iProperty Settings.... I would like to be able to set these setting via iLogic.   Is it possible to do that in Inventor 2024?

 

karthur1_0-1759340096496.png

 

0 Likes
70 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor

I am also using 2024.3.5, and I have not yet seen a way to access those settings by code.  We can access many of the other settings in the Document Settings, Drawing tab, but not the lower level dialog.  I had to make myself an external iLogic rule that 'handles' the DocumentEvents.OnChange Event, and checks for a specific series of changes which would indicate that a new base view is being added to the drawing, and checks if it is the only one (first).  Then it copies all the custom iProperties over from the model into the drawing.  One of the reasons I like to do this is, some of my iProperties have 'expressions' in them which contain the names of other custom iProperties.  Then those 'standard' properties get copied over to the drawing when the view is added, but have empty spaces where the 'Linked' (expression terms) were supposed to be.  When this event handler is working, it automatically fills in the blanks, without me having to run a custom rule to handle it.  This would have normally been handled by an Inventor add-in, but I can't make them because I don't have 'administrative' rights to my work computer, due to corporate security policies.

DrawingDocument.DrawingSettings

DrawingSettings

DrawingSettings.CustomPropertySourceFile

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes