north object
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-09-03 11:11 PM
2018-09-03
11:11 PM
I would like to create north object that follows north set in project preferences, but when rotating to do that around specific point/hotspot.
I know that syntax for that is rot2 GLOB_NORTH_DIR-90
But how can I define a hotspot that is the center of rotation?
Is it possible to add text to this hotspot?
8 REPLIES 8

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-09-04 01:52 AM
2018-09-04
01:52 AM
Just checking that none of the various 2D choices for the existing North object are satisfactory? Since it has an option to follow project north already...
AC 28 USA and earlier • macOS Sequoia 15.3.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-09-04 06:32 AM
2018-09-04
06:32 AM
Yes, none of the existing options are not satisfactory.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-09-04 07:31 AM
2018-09-04
07:31 AM
Assuming there are no transformations before your 'rot2 GLOB_NORTH_DIR-90', you need move (ADD2) your elements so they sit at the specific point you want to rotate about.
Barry.
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
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
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-09-04 12:34 PM
2018-09-04
12:34 PM
This is my code.
I have tried with add2 but I don't know how to use it.
I have tried with add2 but I don't know how to use it.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-09-04 05:04 PM
2018-09-04
05:04 PM
I think you can remove all of the ADD2's in your script as long as you saved the object with the rotation point at the project origin.
ArchiCAD 23
Windows 10
Windows 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-09-04 05:06 PM
2018-09-04
05:06 PM
the add2 command works like so,
add2 0, 1 = move 0mm along x axis and 1000mm along y axis.
add2 1, 1 = move 1000mm along x axis and 1000mm along y axis.
add2 0.5, 0.5 = move 500mm along x axis and 500mm along y axis
add2 0, 1 = move 0mm along x axis and 1000mm along y axis.
add2 1, 1 = move 1000mm along x axis and 1000mm along y axis.
add2 0.5, 0.5 = move 500mm along x axis and 500mm along y axis
ArchiCAD 23
Windows 10
Windows 10

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-09-05 03:13 AM
2018-09-05
03:13 AM
Or if for some reason you need those transformations, place them before your glob_north. Though given that it is an automatically generated script, I guess it is not intentional. They are the culprit of your rotation issue. You have set a rotation point, then moved the center of your object off that point.
Ling.
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-09-05 03:17 AM
2018-09-05
03:17 AM
Adjust the first ADD2 command in your script so that the following fill, hotspots and lines are positioned on the origin at the point that you want to rotate around - you can see this in the 2D preview.
The rotation centre point is at the origin so you need to position your elements in relation to this rotation point.
Barry.
The rotation centre point is at the origin so you need to position your elements in relation to this rotation point.
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
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