Get active part template value

Get active part template value

youann21700
Advocate Advocate
250 Views
1 Reply
Message 1 of 2

Get active part template value

youann21700
Advocate
Advocate

Is there any way to determine through iLogic which template was used when a part was created? Trying to standardise Cut List values, however they have different formats depending on what type of part is being cut (i.e. Rectangular plate, round plate, rolled cone etc). We can standard parameter driven templates for cones and cans to help with creation. Currently creating a rule that determines all of the cut list values automatically, but would like it to be able to determine which template was used to create the file.

i assume itll be something along the lines of 

Inventor.activedocument.template 

but havent found anything.

0 Likes
Accepted solutions (1)
251 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor
Accepted solution

Hi @youann21700.  There is no property like that, but you can put something like a custom iProperty in your Template part file, which uniquely identifies that one Template differently than all the others you have.  Then, when you create a 'New' part, from that template file, it will still contain that custom iProperty from the Template, which can be used to identify which template it came from.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes