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

cprism_ Visibility

Anonymous
Not applicable
Is there a way to make a horizontal line invisible in the CPRISM_ code i.e. status code?

X, Y, ?

(I know using the Tube command, a line can be made invisible using the number 2).

Thank you.
6 REPLIES 6
Anonymous
Not applicable
".....any of the horizontal edges and sides can be omitted."
Use the mask values described in the PRISM_ command
which are the same for the CPRISM_ command.
Check the GDL Reference Manual under PRISM_ and CPRISM_.
Peter Devlin
Anonymous
Not applicable
I've already read the GDL manual, and it did not make sense. That's why I posted the question on this forum. The answer should just be some kind of number.
Anonymous
Not applicable
The answer IS some kind of number.
Usually, the "mask" value is a number
between 8 and 15. If the mask value is set to
15 all edges will be shown. If the mask
value is set to 8 then no edges will be shown
only the surfaces will be shown.
Mask values in between 8 and 15 will
show horizontal and vertical edges depending
on which mask value you choose.
Please experiment with the "mask" values
and see how the visibility of edges change
depending on which value you choose.
Notice that there is a mask value for each
pair of X and Y coordinates so the mask value
is associated with the next edge defined in the shape.
Peter Devlin
Anonymous
Not applicable
I just checked and I wonder if you have seen
page 140 in the AC 12 GDL Reference Manual where
it shows which edges are shown or hidden depending
on which "status" values are used. I notice that they
are now called "status values" rather than "mask" values
as they were in the AC 6.5 GDL manual.
I am sorry for the confusion. I have an old tattered
hard copy of the AC 6.5 GDL manual that I usually
consult for GDL issues.
Thanks,
Peter Devlin
David Maudlin
Rockstar
qwsoftdraw wrote:
I've already read the GDL manual, and it did not make sense. That's why I posted the question on this forum. The answer should just be some kind of number.
On page 174 of the AC 14 GDL Reference Guide is an illustration of all the Status Codes (0-15) showing which lines are visible for each option.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Anonymous
Not applicable
The answer in this case is X, Y, 8.

Thank you for the reference of page 174 in the manual. That helped.