Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

wall_direction vs beam_direction

JGoode
Expert
I am having an issue in my object when outputting a wall direction and a beam direction. The issue is that the range for the wall direction is between 0 and 360 but the beam direction will go into negative numbers. There aren't any inconsistencies in my scripts.

Is this just the way they work? or is there something I can do so that the beam direction will always be between 0 and 360 like the wall direction?
ArchiCAD 23

Windows 10
1 REPLY 1
Lingwisyer
Guru
No idea about how they are suppose to work, but if you are wanting to force it to be positive, could you just include a converting line in your script?

If beam_dir < 0 then
	beam_dir = beam_dir + 360
endIf


Ling

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!