Allplan Fórum

Moving objects when performing GROUP_UNION [Vyřešeno]


Good afternoon
I find that when applying union results the vertical bars move image 1
in image 2 before applying the union.

Escrip image 3

Thanks in advance.

Přílohy (3)

Type: image/jpeg
Staženo 16
Size: 49,78 KiB
Type: image/jpeg
Staženo 14
Size: 64,61 KiB
Type: image/jpeg
Staženo 28
Size: 128,32 KiB

Show solution Hide solution

Toni,
To close the topic, click on "IsSolution" on the message where is the solution.
You can also click on "Helpful" where the message helped you...


Hi Toni,

The problem comes from your TRANS functions in the script.
The best thing is only to apply TRANS for the moves between the elements in the groups.

And just before placing the group, you move (TRANS) where you want to finally place the result of the union.

Look at my comments in your script, you will understand exactly what I mean.


Přílohy (1)

Type: image/png
Staženo 19
Size: 227,40 KiB

Good afternoon Bertand
Solved,
Sorry for the Smartparts basic questions
A trans question models from 0,0,0
Transx, when to use it?
thanks for everything

TRANSX is used to only move in the X axis, TRANSY and TRANSZ for Y and Z axes.
If you need to move in 2 or 3 axes, use TRANS.
This works only in 3D script.
In 2D script, use TRANS2.


Goodnight
Closed topic

Přílohy (2)

Type: image/jpeg
Staženo 18
Size: 58,50 KiB
Type: image/jpeg
Staženo 16
Size: 71,72 KiB

Toni,
To close the topic, click on "IsSolution" on the message where is the solution.
You can also click on "Helpful" where the message helped you...


Is it possible to post the smartpart?

Gruß Jürgen
Allplan V10 bis V2024


https://connect.allplan.com/ používá cookies  -  Více informací

Souhlasím