GDL
About building parametric objects with GDL.
SOLVED!

I have written a GDL for aluminum square tubes, but cannot solve the thermal problem. Please ask for

baixiaodong
Booster

The position of the hotspot is always unable to be synchronized with the last object in the array. Please give me some advice from an expert.

baixiaodong_0-1696334927955.png

baixiaodong_1-1696335002849.png

Below is the code I wrote

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
MetalFingerz
Advocate

Hello @baixiaodong , this is normal behavior because the parameter you are using for your dynamic hotspot is "sl" which is an integer parameter. So it will only increment by 1 in your GDL script, 1 is 1 meter so that's why the dynamic hotspot moves like that.

 

So the solution would probably to drive the dynamic hotspot with a length parameter and then deduct "sl" from it so you can use it in your loop.

View solution in original post

1 REPLY 1
Solution
MetalFingerz
Advocate

Hello @baixiaodong , this is normal behavior because the parameter you are using for your dynamic hotspot is "sl" which is an integer parameter. So it will only increment by 1 in your GDL script, 1 is 1 meter so that's why the dynamic hotspot moves like that.

 

So the solution would probably to drive the dynamic hotspot with a length parameter and then deduct "sl" from it so you can use it in your loop.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!