Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JasonMayes
242 Views, 2 Replies

select the export parameter box in fx parameters using iLogic

I am trying to find a way to check the "export parameter" checkbox on in "fx parameters" using iLogic to add to exsiting rule. Any help would be greatly appreciated.

 

JasonMayes_0-1696872892632.png

Jason Mayes

Labels (4)
WCrihfield
in reply to: JasonMayes

Hi @JasonMayes.  That is a property of the Parameter API object called ExposedAsProperty, which has a Read/Write Boolean type value.  There are lots of examples of how to access and change that property here on this forum.

 

Dim oParams As Inventor.Parameters = ThisDoc.Document.ComponentDefinition.Parameters
Dim oParam As Inventor.Parameter = oParams.Item(1)
'this next line will 'toggle' that setting every time you run it
oParam.ExposedAsProperty = Not oParam.ExposedAsProperty

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION .
Or, if this helped you, please click (LIKE or KUDOS) :thumbs_up:.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

JasonMayes
in reply to: JasonMayes