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

GLOB_CUTPLANES_INFO[1] inconsistency

Anonymous
Not applicable
Hi there,

I'm scripting a 3d object with a 2d symbol with Cut Plane sensitivity.
To achieve this, I am using GLOB_CUTPLANES_INFO[1] to give me the height between the cut plane and the base of the object, and display the fill acording to its position (Cut/View/Projection).
So far so good...
Now I notice that when I set the object to be displayed in "All Stories", the value that GLOB_CUTPLANES_INFO[1] gives me is different from other objects at the same elevation but in different home story.
Is this a bug or am I missing something?

Cheers,

Paulo
3 REPLIES 3
Anonymous
Not applicable
Aparently GLOB_CUTPLANES_INFO[1] gives distinct values for cutplane height in 2d and 3d context.

In 3d context it gives the correct cutplane height defined in Floor Plan Cut Plane Settings.

In 2d context, with objects in its home story, it correctly calculates the height between the FPCP and the bottom of the object.

In 2d context, with object not in their home story, it gives an inconsistent value which I can't understant its logic.

I tested the PROJECT2 method with a triggered CUTPLANE in 3d (Which I want to avoid due to performance issues, once the object will be mass reproduced in a project) and the issue persist.

Anonymous
Not applicable
Just found the answer here.

Thanks from the future!
Lingwisyer
Guru

Answer from the link in Braza's post since the answer is part of the OP not an answer to them:

 

GLOB_CUTPLANES_INFO[1] + GLOB_CSTORY_ELEV - GLOB_HSTORY_ELEV

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