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

What's wrong with this?

Anonymous
Not applicable
This seems like it should be simple. The CPRISM works fine to create a frame. I've looked at the help files to get the wallhole command to work and it looks pretty basic. Unfortunately that's not the case. I'm working in AC 9 tonight. Any thoughts?

Doug
c=2"/sin(ang)
d=2"/tan(ang)
e=2"/sin(90-ang)
f=2"/tan(90-ang)
h=a*tan(ang)

rotx 90
material mat

CPRISM_ 132, 132, 132, 8, wt,

0, 0, 15,
a, 0, 15,
a, h, 15,
0, 0, -1, !end of the contour
c+d,2", 15,
a-2",2", 15,
a-2",h-e-f, 15,
c+d,2", -1 !end of first hole

WALLHOLE 4, WT,
0, 0, 79,
a, 0, 79,
a, h, 79,
0, 0, -1

WT is the wall thickness.
2 REPLIES 2
Barry Kelly
Moderator
The wallhole does not need the wall thickness - just use '1" instead.


WALLHOLE 4, 1,
0, 0, 79,
a, 0, 79,
a, h, 79,
0, 0, -1


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
Dwight
Newcomer
And he could take the word "Doug" out of the first line of his code.
Dwight Atkinson