Work around to rename skeleton implemented in iLogic rule, by Copy Design

Work around to rename skeleton implemented in iLogic rule, by Copy Design

BRLMCHKD
Advocate Advocate
540 Views
4 Replies
Message 1 of 5

Work around to rename skeleton implemented in iLogic rule, by Copy Design

BRLMCHKD
Advocate
Advocate

Hi.

Can someone give me an idea how to overcome the problem by Copy Design,  when the name of Skeleton therefore changes.  My problem is that the Skeleton is implemented in a iLogic Rule.  As it works for now I have to rename it manually, when I take Copy Design.

KR. BRLMCHKD

Memo til Rule_Controlling View J.png

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

LukeDavenport
Collaborator
Collaborator

You have to lock the skeleton component name in the browser before using Copy Design. See this article:

 

https://www.cadlinecommunity.co.uk/hc/en-us/articles/202020161-Inventor-2014-iLogic-Stabilise-Browse...

 

Thanks,

Luke

0 Likes
Message 3 of 5

BRLMCHKD
Advocate
Advocate

Hi Luke Smiley Happy

Thank you very muck for your answer.

 

But your solution still does'nt solve my problem. The reference in my iLogic rule on the idw, references to the original skeleton name .ipt

I have allready renamed the skeleton name in the browser of my iam, but "modelName" in my rule, do only work with

the original name of my skeleton.ipt

 

Controlling View J_2'nd screendump.png

0 Likes
Message 4 of 5

LukeDavenport
Collaborator
Collaborator
Accepted solution

Hi,

Could you just use one of the ModelDocumentName or ModelDocumentName (view) snippets of code, to get the actual current filename that has changed after the copy design operation, then us the same parameter function you're currently using after that?

Luke

 

SyntaxEditor Code Snippet

modelName = IO.Path.GetFileName(ActiveSheet.View("VIEW1").ModelDocument.FullFileName)
dwgParam = Parameter(modelName, "InjectNozRootDia")  

 

Message 5 of 5

BRLMCHKD
Advocate
Advocate

View Suppress Answer.png

0 Likes