rule to set part discription

rule to set part discription

Anonymous
Not applicable
682 Views
8 Replies
Message 1 of 9

rule to set part discription

Anonymous
Not applicable

I would like to create a rule that fills in a parts iproperties description using text and paramarters 

ie the description would read: STAIR TREAD-T4, (WIDTH PARAMARTER) X (LENGTH PARAMARTER) GIVING A RESULT : STAIR TREAD-T4, 285 X 1000

0 Likes
Accepted solutions (1)
683 Views
8 Replies
Replies (8)
Message 2 of 9

admaiora
Mentor
Mentor

Hi Vancem,

 

you can see a quick guide i prepared for you here:

 

 

 

 

You can even improve it using even triggers.

 

http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-DA0F4988-AE08-4791-83E5-F9D41B82D4F6

 

http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-9369AEB8-F01A-4865-812D-14B21AA4AA22

 

I hope that it can helps you!

 

 

Admaiora
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.

_____________________________________________________________________________
Facebook | Twitter | Youtube

0 Likes
Message 3 of 9

Anonymous
Not applicable

Thanks admaiora,

 

I can follow your instructions and get the paramaters to the custom iproperties. But how do i get those properties into my rule??

Your example shows the rule with these properties already in the rule.

 

iProperties.Value("Project", "Part Number")="STAIR TREAD T4,<LENGTH_TREAD> X <WIDTH_TREAD>"

 

 

0 Likes
Message 4 of 9

admaiora
Mentor
Mentor

Hi Vancem,

 

you have to write it, or use the snippets already done. Obsiouly using your parameters.

 

You can find more about tnhat here:

 

http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-B98DF82D-E489-4C19-8351-11C0ED63C349

 

http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-E5FC2D0A-52B8-4B3A-AE4B-D53B16911E7A

 

http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-8CAEA21E-A604-4D0A-8F06-3FA5B693CE6B

 

http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-050DC8F2-6F4D-4CCC-8469-ACC481A38BC2

 

 

I hope that it can helps you.

Admaiora
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.

_____________________________________________________________________________
Facebook | Twitter | Youtube

0 Likes
Message 5 of 9

Anonymous
Not applicable

Thanks Admaiora,

 

I understand that it should be simple. If i drag the parameters into the code they work, but when i include the additional text and put " " around the code snippet all i get is the text string not the values?? 

 

 

0 Likes
Message 6 of 9

admaiora
Mentor
Mentor
Accepted solution

Yes, inserting the argument you write the expression in the description field of the iProperties.

Admaiora
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.

_____________________________________________________________________________
Facebook | Twitter | Youtube

Message 7 of 9

Anonymous
Not applicable

Thanks I can get the formular to work in the description iproperty.

When I save the part as a template the formular dose not save??

0 Likes
Message 8 of 9

Anonymous
Not applicable

Thanks Admaiora,

 

I have worked it out.

0 Likes
Message 9 of 9

admaiora
Mentor
Mentor

You are welcome Vancem.

Admaiora
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.

_____________________________________________________________________________
Facebook | Twitter | Youtube

0 Likes