License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Problem rotating an object

Anonymous
Not applicable
In AC10, can you rotate an object in the 3D window around any axis, x, y, or z?

I thought I remember in the introduction to AC10 class that this was a new feature, however I can only seam to rotate around a single plane, same as the 2D window, or drawing window.

I have saved a loudspeaker as a library part, now I need to be able to hang it from the ceiling and rotate it down to point at the floor at about a 40 degree angle, or any angle for that matter.

Am I stuck? I thought this was a new feature of 10??

Thanks
18 REPLIES 18
Aussie John
Newcomer
The only way is if it is scripted into the object.
You could edit the 3D script using the ROTX command
eg ROTx number_of_degrees

most likely at start of script

The other option is to use a more generic shape the has been already scripted to do what you want, or make your own!!!

Something like that is a great way to start GDL experience
look in manual under BLOCK command and ROT commands

in the 2D script the simplest thing is to use the PROJECT2 command
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
Anonymous
Not applicable
Wow, thanks John! Unfortunately your reply is pretty much like Chinese Arithmatic to me, I don't understand a bit of it. I haven't done anything at all with GDL. When I open the object there is no 2D script, and only a little bit of 3D script. I have no idea what the PROJECT2 command is??

I may have to devote some days soon when I'm not busy to figure this one out!

Thanks for the reply, maybe it will make sense once I dig into this deeper.
Anonymous
Not applicable
If any experts in GDL or 3D script language wish to help me out, here is the 3D script for this object. It was made with the slab tool the shape of the speaker cabinet footprint, and a thickness of the height of the cabinet
Anonymous
Not applicable
Hello Steve,
Could you post a screen shot of the 3D view
with the axise turned on in the GDL editing environment.
We need to see how the object is oriented relative the
the X and Y axis in order to determine the correct
rot commands.
Thank you,
Peter Devlin
Dwight
Newcomer
This is a major annoyance in Archicad elements and the main reason for users unfamiliar with GDL who wish to maintain billing rates to buy ArchiForma. Elements created with ArchiForma can rotate in the three axes with either numeric input or visual gestures.

Attached is a twisted element made from a fill - you can sort of see the trace of the visual rotate gesture.
arkiforma1.jpg
Dwight Atkinson
Anonymous
Not applicable
Thank you Peter, I believe this is what you are asking to see??
Anonymous
Not applicable
Dwight, I'll have to look into ArchiForma. Is it as easy to create objects as in ArchiCad??

Thanks!
Dwight
Newcomer
Everything starts with a fill shape and perhaps a path.
It is easier to make objects than with Archicad and there are several visual editing methods depending on the element type.
Dwight Atkinson
Anonymous
Not applicable
Hello Steve,
Your image shows the object centered on the origin. This is good.
In the parameter list create a new parameter, name it something like
xrot or anything, select the parameter type as angle (you will recognize
the icon), and type in a description in the text field something like
"rotation about the X axis". Give the parameter some default value
such as 45°.
Open the 3D script and just before the the line that starts with cprism_
type in the line rotx xrot. Note the space between rotx and xrot.
Your object should rotate to the value you set in the parameter named xrot.
Peter Devlin