Forum de la communauté Allplan

Moving objects when performing GROUP_UNION [Résolu]


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.

Pièces-jointes (3)

Type: image/jpeg
Téléchargé 16 fois
Size: 49,78 KiB
Type: image/jpeg
Téléchargé 14 fois
Size: 64,61 KiB
Type: image/jpeg
Téléchargé 28 fois
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.


Pièces-jointes (1)

Type: image/png
Téléchargé 19 fois
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

Pièces-jointes (2)

Type: image/jpeg
Téléchargé 18 fois
Size: 58,50 KiB
Type: image/jpeg
Téléchargé 16 fois
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/ utilise des cookies  -  Plus d'informations

Accepter