Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

7 REPLIES 7
Reply
Message 1 of 8
WernerBeek
1014 Views, 7 Replies

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

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  

7 REPLIES 7
Message 2 of 8
Paul__H
in reply to: WernerBeek

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

Message 3 of 8
shoemara
in reply to: Paul__H

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

Message 4 of 8
dgreatice
in reply to: shoemara

@shoemara

 

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
Message 5 of 8
shoemara
in reply to: dgreatice

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.

Message 6 of 8
dgreatice
in reply to: shoemara

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
Message 7 of 8
shoemara
in reply to: dgreatice

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

No I didnt rename. What would that accomplish?

Message 8 of 8
dgreatice
in reply to: shoemara

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report