Ilogic code to modify (override) parameter in Representations - Positions

Ilogic code to modify (override) parameter in Representations - Positions

WernerBeek
Enthusiast Enthusiast
1,184 Views
7 Replies
Message 1 of 8

Ilogic code to modify (override) parameter in Representations - Positions

WernerBeek
Enthusiast
Enthusiast

Dear All, 

 

Does anyone know if it is possible to modify (override) a parameter in a "representations position" using ilogic? I need this so that the parameters can be adapted in a specific rep-position and it will not be effected in other rep-positions.

 

Thanking you in advance,

 

Werner  

0 Likes
1,185 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable

Hello,

 

Did you ever sort this issue out the the Positional Rep Override ? As i have a similar problem.

 

PositionalRepresentation.SetPositionalRepresentationOverride("STRAKE_PRIMARY_A:10", "Position1" )

 

Thanks 

 

Paul H

0 Likes
Message 3 of 8

Anonymous
Not applicable

Did anyone ever figure this out??????????

0 Likes
Message 4 of 8

dgreatice
Collaborator
Collaborator

@Anonymous

 

What do you want about modify override parameter in positionalRep?

 

any sample of Assembly model can be help, you can attach simple model.

Please use the ACCEPT AS SOLUTION or KUDOS button if my Idea helped you to solve the problem.

Autodesk Inventor Professional Certified 2014
0 Likes
Message 5 of 8

Anonymous
Not applicable

I want to be able to control the Rep-Pos from a top level assembly using iLogic. Please see the attached model with top level, sub-assembly and parts. In the sub-assembly you will see positional constraints that are overriden. I want to be able to control those constraints based on the overall width (user parameter) of the top level assembly.

0 Likes
Message 6 of 8

dgreatice
Collaborator
Collaborator

Hi,

 

sorry I cant open in inventor 2018.

 

did you rename constraint after override?

Please use the ACCEPT AS SOLUTION or KUDOS button if my Idea helped you to solve the problem.

Autodesk Inventor Professional Certified 2014
0 Likes
Message 7 of 8

Anonymous
Not applicable

You should be able to open a 2018 file no problem. Not sure why you cant.

No I didnt rename. What would that accomplish?

0 Likes
Message 8 of 8

dgreatice
Collaborator
Collaborator

Sorry, you file version are 2019.

 

Renaming constraint make you easy to search in VBA/iLogic.

Please use the ACCEPT AS SOLUTION or KUDOS button if my Idea helped you to solve the problem.

Autodesk Inventor Professional Certified 2014
0 Likes