iLogic change file name in assmebly tab

iLogic change file name in assmebly tab

Anonymous
Not applicable
635 Views
2 Replies
Message 1 of 3

iLogic change file name in assmebly tab

Anonymous
Not applicable

We use a template for creating cable ducts. Now I want to show the length of this duct in the assembly view of the assembly where it is used. I can do this by changing the file name in the assembly tab of the cable duct itself, this name then shows up in the assembly tab where it is used.

But I want to change this filename by iLogic, which iProperty do I use for this?

Assmebly tab.png

0 Likes
Accepted solutions (1)
636 Views
2 Replies
Replies (2)
Message 2 of 3

johnsonshiue
Community Manager
Community Manager

Hi! I am not sure I understand the request. I guess you want to change the actual file name. You will need to use Save and Replace workflow (Productivity -> Save  & Replace). You can do it via Inventor API in an iLogic rule.

Many thanks!



Johnson Shiue ([email protected])
Software Test Engineer
0 Likes
Message 3 of 3

Anonymous
Not applicable
Accepted solution

I found the solution, I was looking for this line:

doc.DisplayName="Kabelgoot 60x" & Parameter("Type") & "x" & Parameter("Length")

This changes only the File name in the assembly tab, not the actual filename itself.