ilogic form in iam - change parameters in ipt

ilogic form in iam - change parameters in ipt

marcin_bargiel
Advocate Advocate
1,580 Views
8 Replies
Message 1 of 9

ilogic form in iam - change parameters in ipt

marcin_bargiel
Advocate
Advocate

I'd like to makecomponent in ipt file (multibody part), a then in iam link all parameters, and then from iam.

From iam i can change all parameters using iLogic eg. Parameter("something.IPT", "height") = 500 - it is working good.

But i want to change parameters eg. "height" directly from the form - but parameters from form are read only ?!

 

There is workaround to make new parameters in iam which use in form, and then use ilogic to change ipt file - but it's long way...

 

Is there a way to do it faster/better ?

 

 

Vote for REPLACE VARIES !
REPLACE VARIES
0 Likes
Accepted solutions (1)
1,581 Views
8 Replies
Replies (8)
Message 2 of 9

marcin_bargiel
Advocate
Advocate

how to make copy of all linked parameters in iLogic ? (and change slighty their name eg. add "_" or something.  I've got a lot of them...

Vote for REPLACE VARIES !
REPLACE VARIES
0 Likes
Message 3 of 9

George-Roberts
Collaborator
Collaborator

You want to change the linked parameter name? Could you upload your file so we can see what you're trying to achieve?

0 Likes
Message 4 of 9

marcin_bargiel
Advocate
Advocate

I want change parameter "height" from FORM1 (wihout need using new parameter "copy_of_height" - because i got thousand of them...)

"height" is linked from part1.ipt

Vote for REPLACE VARIES !
REPLACE VARIES
0 Likes
Message 5 of 9

George-Roberts
Collaborator
Collaborator

am I correct in thinking that you have loads of parts with the parameter name height that need changing from the top level? And rather than using this code: Parameter("part1.ipt", "height") = copy_of_height

 

You want to iterate through all parts in the assembly, changing the value 'Height' to equal your parameter 'copy_of_height'?

0 Likes
Message 6 of 9

marcin_bargiel
Advocate
Advocate

I think we do not understand each other.
I want to control all parameters in ipt file, but from the FORM in iam file.

 

Actually i can also make FORM just in ipt -and control all parameters, but there are some things i can change only from iam for example part name, BOM structure, additional parts etc.

Vote for REPLACE VARIES !
REPLACE VARIES
0 Likes
Message 7 of 9

marcin_bargiel
Advocate
Advocate
Accepted solution

I solved by myself 🙂 !

I did not have to link parameters, but export/import parameters...

solution attached

Vote for REPLACE VARIES !
REPLACE VARIES
0 Likes
Message 8 of 9

Anonymous
Not applicable

Hello,

 

I'd really like to know what your workflow was on this. I'm fairly certain I'm trying to do something similar but running into a lot of issues. I looked at your file but couldn't quite figure out what the order of operations was. 

0 Likes
Message 9 of 9

johnsonshiue
Community Manager
Community Manager

Hi Sophie,

 

Please attach your files here or start a new thread. Your issue might be different than the original thread. Without seeing the files, it is impossible to tell. Forum experts can help take a look.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes