cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
kristkun
Participant

How to identify 3D or 2D Hotlink Element

Hi

 

Is there a way to identify if a hotlink element a 2D or 3D?
Right now the only way I can identify if the hotlink is a 2D or 3D is based on the HotlinkNode Source Location
(I am checking the directory folder where 2D modules are inside the 2D Folder. Something like this)

I checked the Hotlink Element and I don't think I can use the transformation parameter to detect if a hotlink is a 2d or 3d.
I manually placed a 2D and 3D hotlink in the project and upon checking the transformation parameters, both of their origin z axis (tmx[11]) are zero 
elemHLList[1]

kristkun_1-1714583207453.png

elemHLList[0]

kristkun_2-1714583227879.png

 

kristkun_0-1714583135878.png

kristkun_3-1714583315730.png


https://graphisoft.github.io/archicad-api-devkit/union_a_p_i___element.html
https://graphisoft.github.io/archicad-api-devkit/struct_a_p_i___hotlink_type.html

 

1 Solution

Accepted Solutions
Akos Somorjai
Graphisoft
Graphisoft

Hi,

 

Sorry, there isn't any distinction between 2D and 3D in the hotlink or node structure on the API.

 

Best, Akos

Go to post

1 Reply 1
Akos Somorjai
Graphisoft
Graphisoft

Hi,

 

Sorry, there isn't any distinction between 2D and 3D in the hotlink or node structure on the API.

 

Best, Akos

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!