Export Text Parameter to iProperties

Export Text Parameter to iProperties

Anonymous
Not applicable
2,099 Views
4 Replies
Message 1 of 5

Export Text Parameter to iProperties

Anonymous
Not applicable

Is this possible yet, I see discussion going back aways.... 

I want to change this Number in one place and have it update as Model Sketch Text and Drawing View Label. If I could export Text this would be simply done..  

 

 

0 Likes
Accepted solutions (1)
2,100 Views
4 Replies
Replies (4)
Message 2 of 5

jhackney1972
Consultant
Consultant

No.  You can vote for this to be added to Inventor here.

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 5

johnsonshiue
Community Manager
Community Manager

Hi Guys,

 

Indeed, the ability to export Text parameter is not yet available. But, you can do it using an iLogic rule. Basically, you need to export the parameters in an xml file. Next, you can change the xml file and then import it back to the part file. This can be done via an iLogic rule or manually. Are you guys aware of the workflow?

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 4 of 5

Anonymous
Not applicable

Thanks, I have seen a link to a work flow, but can't copy and paste the code. 

0 Likes
Message 5 of 5

andrew.tom.reynolds
Advocate
Advocate
Accepted solution

I have recently looked at this so that I could use some text parameters in a iProperties function which then generated a complex Part Number. I found that creating a very simple iLogic rule to copy the parameter values to custom iProperties and then having that set to trigger every time a parameter change occured would do the trick. I could then use the custom iProperties wherever I needed to.

For example, I had a multi-value list text parameter called TYPE which whenever it changed, the following iLogic code line would copy that new value over to the custom iProperty with the same name and then I could use that in my function back in the Part Number iProperty field. You can then call up that custom iProperty on the drawing view label or drawing view sketch text.

For model sketch text, you should be able to use the text parameter straight up (works in 2019?).

iProperties.Value("Custom", "TYPE") = TYPE