BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

Complex Profiles

Lingwisyer
Guru
Hi all,

How do you go about pulling Complex Profile information then creating an extrusion from said information?



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
9 REPLIES 9
David Maudlin
Virtuoso
Ling:

Here is an example part from Graphisoft.

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
Lingwisyer
Guru
Coolios. So I was looking at the right thing. Just need to figure out how to incorporate it.


Can you pull the profiles height?

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
Barry Kelly
Moderator
Lingwisyer wrote:
Can you pull the profiles height?
Profiles are just a shape, they don't have a height or length.
When you extrude, tube, revolve, etc., the shape, that is when you give it a length or height.

Unless I am misunderstanding what you mean.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru
_cprism does not define a height. I just have a buffer of nodes and an extrusion length. Is there a way to find the difference between the highest and lowest value of Y within the buffer?

The aim is to shift the profile above zero.


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
Barry Kelly
Moderator
CPRISM_ is just the same as a PRISM_, but with materials for top, bottom and side surfaces.
The height can be what ever you want to make it - no need to know the max y value in the profile.

To move the profile above zero just 'ADDz' before the CPRISM_

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru
Ok, my bad wording... I probably should not use the word "height" as I am not talking about the extrusion amount which is defined as height within the operation...

The extrusion is being use parallel to to another face, hence I am wanting a way to compensate for the Profile Origin. So more accurately, I am wanting the distance from the Profile Origin to it's lowest point.


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
Barry Kelly
Moderator
Ah, you want to allow for the size of the profile.

I know in the railing tool when you choose a profile, it will tell you the 'height' and width of the profile.
It will be in the code for the profile railing somewhere.

I will see if I can dig it out - unless you beat me to it.

It may well be a request for the profile height and width - not sure yet.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Barry Kelly
Moderator
Found it.
reqComp	= REQUEST ("Profile_default_boundingbox",  ac_railProfileID, _xMin, _yMin, _xMax, _yMax)

_profileWidth	= abs(_xMax - _xMin)

_profileHeight	= abs(_yMax - _yMin)

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru
Ah. Have not used a Profiled Rail before so I did not notice that and hence did not think to look there...

Thanks Barry,



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
Learn and get certified!