Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IvExtGetFlatPatternLenghts()

1 REPLY 1
Reply
Message 1 of 2
intentdesign
253 Views, 1 Reply

IvExtGetFlatPatternLenghts()

I would like to drive an iProperty named "unfolded_width" with the following code based on an IvSheetMetalPart:

 

Rule unfolded_width As Number  = roundToNearest(IvExtGetSheetMetalFlatPatternWidth(Me),0.1)

Rule iproperties As List = {{"unfolded_width",Me.unfolded_lwidth}}

 

This causes an error because the iProperties rule drives another cacheFilename and there is a crcukar Reference.

 

The other idea is to run an iLogic Rule with the following code:

 

Parameter("unfolded_width") = SheetMetal.FlatExtentsLength

 

I don't know when to run this iLogic rule, "AutomaticMode", "Before saving the part".

All my tests are causing errors.

 

Who already did successfully this request before?

 

Thanks,

Dieter

1 REPLY 1
Message 2 of 2
AlexKorzun
in reply to: intentdesign

Hi Dieter,

 

Very close to what you need is descibed here.

 

 

Thank you,




Alex Korzun
Inventor-Revit Interop / Inventor-Fusion Interop / Inventor ETO
Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report