cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

how to get the rotation angle of a column

alemanda
Expert
Hi to all.
I have a problem.
I made a label for columns for structural representation purpose.
My question is the following: How can I get the rotation angle in plan (along its axis) of a column? I need this datum in order to write automatically parallel to the sides of the column the dimensions of it ...
Can anyone help me, please? Any suggestion?

column_label_rotatio.png
eng. Alessandro Mandala - Italy
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores) - 32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 2560x1440
10 REPLIES 10
Frank Beister
Moderator
You have to create an own label object. This object needs to conatin a parameter called "ac_colu_inclination", which ist filled automatically, if the label is attached to your column.

[EDIT]
Sorry, this shows the vertical inclination, not the rotation in floor plan. Why do you not use the angle dimension tool?
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
alemanda
Expert
I have hundreds of columns placed in plan with different rotations. It's a big job to rotate the labels one by one!
Where can I find all the parameters like that you mentioned?
eng. Alessandro Mandala - Italy
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores) - 32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 2560x1440
Frank Beister
Moderator
The link shows a complete list of all parameters available in lbel environment up to AC12. But AC13+14 do not bring more or your needed parameter. Sorry.

Alternatively you could replace the columns by a gdl-object column, which can be labeld automatically.

There is one tricky, but maybe dangerous way:

If you label the column automatically, the label is orientated according to the orientation of the column. This is available in LABEL_ROTANGLE. Maybe in combination with LABEL_POSITION.

Good luck. Please report, if this work.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
alemanda
Expert
Maybe I make a mistake somewhere.
How can I get the value of the ac_colu_twist_angle value? Simply using it as a global variable? or through a REQUEST command?
The first way seems not working ...

for example I added these lines

text2 0,0,colu_twist_angle
text2 0,0.5,ac_colu_inclination
text2 0,1,ac_colu_crosssection_type

and the values are all equal to 0 (zero).

The second way (request command) I don't know how to apply ...
eng. Alessandro Mandala - Italy
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores) - 32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 2560x1440
Frank Beister
Moderator
You have to create the parameters by this name in the parameter list of your label object. Use the correct type: angle for angle e.a.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
alemanda
Expert
can you be clearer? I don't understand.

EDIT
ok ok ... I got it
eng. Alessandro Mandala - Italy
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores) - 32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 2560x1440
alemanda
Expert
...but there's a big problem.
This method works only if you rotated the column modifying the value of that parameter ... and that value doesn't change if you rotate the column with the rotate tool!!!!!

It's strange. In fact, if you rotate an object with the rotate tool, that parameter (for object) changes... for columns it doesn't happen!
eng. Alessandro Mandala - Italy
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores) - 32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 2560x1440
Frank Beister
Moderator
See scrrenshot.

If you rotate the column, you rotate the axis of the column too. The parameter returns only the rotation of the column in relation to the axis. 😉

The top value in the screenshot ist the inclination of the first label arrow segment towards the x axis. Automatically generated labels are perpendicular to the column. If you do not change the label arrow, THIS (minus Label rotation) is your column inclination to the column axis.
ac_colu_xxx.png
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
alemanda
Expert
Ok. I understood.
... I need the rotation along a vertical axis (done via rotate tool) ... solutions?
eng. Alessandro Mandala - Italy
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores) - 32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 2560x1440