Archicad C++ API
About Archicad add-on development using the C++ API.

Nord direction

Anonymous
Not applicable
How to maketo insert nord direction in Archicad project?
7 REPLIES 7
Karl Ottenstein
Moderator
Not sure I understand the context of the question.

If you are asking as an ArchiCAD user, you set the north direction in the Sun Settings dialog.

But, you are asking this on the developer forum, so are you asking how to do this from within a custom add-on?

Karl
One of the forum moderators
AC 28 USA and earlier   •   macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
To set the noth direction in an apx use:

API_PlaceInfo placeInfo;
memset(&placeInfo, 0, sizeof(API_PlaceInfo));
ACAPI_Enviroment(APIEnv_GetPlaceSetsID, placeInfo, NULL)
placeInfo.north = direction;
ACAPI_Enviroment(APIEnv_ChangePlaceSetsID, placeInfo, NULL)
Anonymous
Not applicable
thanks, yes it works.
Another question.
I developed a cost extimation plugin (http://www.analistgroup.it/ArchiCad/index.asp) for ArchiCAD.
The problem is that I want to insert some control into the property panel.
I tried the example (Panel_Test) but It seems doesn't works.
Any suggestion?

Regards
Gerry
Anonymous
Not applicable
this example compiles fine and works fine for me.

what exactly is the problem? does it compile? wha does add-on manager say?

btw. thanks, I never really looked at that example myself till now - it will be really usefull to be able to do that
Anonymous
Not applicable
I using an demo version o ArchiCAD9.
The example compile fine.
ArchiCad load add-ons, but in the wall Setting dialog not compare
additional Rolldown Panel.

bye gerry
Anonymous
Not applicable
Ok, is work fine .
I have add the add-on's panel to the element settings dialog through the Work Environment dialog.
Anonymous
Not applicable
I can retrive the superfice of an WallPart ????