Using part parameter in factory assembly

Using part parameter in factory assembly

Logos_Atum
Advisor Advisor
1,794 Views
10 Replies
Message 1 of 11

Using part parameter in factory assembly

Logos_Atum
Advisor
Advisor

HEllo there,

 

how can i use a part parameter which is in an asset in a factory assembly.

 

The array command is to accept the input of the width parameter of the asset.

 

Ilogic to be used?

Dogs aren´t flammable.
0 Likes
Accepted solutions (2)
1,795 Views
10 Replies
Replies (10)
Message 2 of 11

XuesongBai
Alumni
Alumni

Hi There,

 

Yes, we need to link the parameter of asset in factory layout by iLogic. The sample iLogic code is as

d3=Parameter("iLogic Control:1", "Length")

 And link the value in the array in layout assembly.

Please see the details in the snapshot attached.

 

Thanks,

-Xuesong

Please mark as a solution if somehow I got it right.
Message 3 of 11

Logos_Atum
Advisor
Advisor

Mr Xuesong - what would i do without you - thank you very much for your professional expertise and great answers. Im working on the solution right now

 

 

Bless you 🙂

Dogs aren´t flammable.
0 Likes
Message 4 of 11

Logos_Atum
Advisor
Advisor

I trying but maybe you can help me one more time.

Do i need to define a rule in the asset too?

Dogs aren´t flammable.
0 Likes
Message 5 of 11

Logos_Atum
Advisor
Advisor

Where to define "ilogic Control:1" ?

 

This is the first time i´m using i logic - be patient.

 

I am all glad that it´s possible to do this but i need advise still

Dogs aren´t flammable.
0 Likes
Message 6 of 11

XuesongBai
Alumni
Alumni

Hi There,

 

you need not to define the ilogic in the specific asset. It is OK to define it in layout assembly. "iLogic Control" is just name of a part which is placed in the assembly and the parameter of the part will conrol the array. Once the value of part parameter is changed, the array will be updated too. Maybe you need to run the ilogc rule and update the document manually.

Anyway, I attached the simple sample for your reference.

 

Thanks,

-Xuesong

Please mark as a solution if somehow I got it right.
Message 7 of 11

Logos_Atum
Advisor
Advisor

Thank you - i ´m working on it... perhaps i will ask some more questions 😉

 

Great support!

Dogs aren´t flammable.
0 Likes
Message 8 of 11

Logos_Atum
Advisor
Advisor

I decided to send you the problem i´m working on...

 

Perhaps this will clarify it for me for i know the matter better.

 

I don´t know yet which files to include for the pack and go to work properly, so i had a look into your zip file.

It´s in german- ask me whatever you need to know. The box needs to be the source for the array´s offset to prevent the boxes to overlap.

 

As long as you look into my problem i will look into your example.

 

Thanks in advance

 

 

 

Dogs aren´t flammable.
0 Likes
Message 9 of 11

XuesongBai
Alumni
Alumni
Accepted solution

OK,Please send me the file by Xuesong.bai@autodesk.com

 

Thanks,

-Xuesong

Please mark as a solution if somehow I got it right.
Message 10 of 11

Logos_Atum
Advisor
Advisor

Hello there,

 

there still is a problem getting the asset name.

The program tells me there is no such instance.

 

I will send the corresponding files to you and hope to get this issue resolved

Dogs aren´t flammable.
0 Likes
Message 11 of 11

XuesongBai
Alumni
Alumni
Accepted solution

Hi Daniel,

 

Please use the name of occurence in the browser,say Regal DT:1.

Breite=Parameter("Regal DT:1", "Breite")

 

Thanks,

-Xuesong

Please mark as a solution if somehow I got it right.