cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
License Delivery maintenance is expected to occur on Saturday, October 19, between 4 and 6 PM CEST. This may cause a short 60-minute outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool 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.

Text Orientation & Anchor

Anonymous
Not applicable
Hello all -
I'm having trouble with a relatively simple part. All I want to do is modify the "Cube 12" library part so it displays some text that reads horizontally with its anchor point (which is the center of the text) at the exact center of the object regardless of the rotation of the object. I can get the text to be at the center of the object, but cant for the life of me figure out how to make it stay horizontal AND still centered within the object when the object is rotated. I am using it in conjunction with a basic equipment schedule so merely swapping the length & width parameters to achieve the same rotated effect would result in an additional line item in the schedule, which kinda defeats the purpose. Basically I want the text to rotate about its anchor point & not the object origin point. Any help would be greatly appreciated.

Thanks
Mike
AC13 -|- 2x2.66Ghz DC Intel -|-OSX10.6.8
2 REPLIES 2
Anonymous
Not applicable
Hi,

i'm not sure, but you may get the text within the coordinate transformations of Cube 12. It would be easier to help if you attach your modified object. Only if its public.

regards,
Barry Kelly
Moderator
If you have added your own text to the standard cube object in the default Archicad library then my guess is all you need to do is add a ROT command before the text to counter-act the object rotation that the user can set in the object settings dialogue.

This will not counter-act the rotations that can be set in the parameters of the object but the 2D view is just a PROJECT2 and does not actually rotate anything in the script.

So just add the red bits around your text2 command.

ROT2 -SYMB_ROTANGLE
TEXT2 0,0, text_string
DEL 1


If that is not it then you might want to share your script or object.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11