Design forum
cancel
Showing results for 
Search instead for 
Did you mean: 

GDL: Complex Profile Hotspots

Lingwisyer
Virtuoso

Hi all,

 

Is there someway to extract the location of Hotspots within a Complex Profile?

 

I am using a Complex Profile as an operator in a SOE operation and would like to be able to use HOTSPOT to define snap points. Being able to identify the Hotspot with the greatest Y / lowest X value would be a bonus.

 

complex_hotspots.jpg

 

 

 

Ling.

AC18-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200
2 REPLIES 2

Barry Kelly
Moderator

I am not sure if this is of any help but there are a couple of REQUESTs for Profile geometry.

 

n = REQUEST ("Profile_default_boundingbox", name_or_index, xmin, ymin, xmax, ymax)


Returns the 2 defining coordinate point of the original bounding rectangle relative to the origo of the profile identified by name or index.
Expression returns 0 and contains dummy return values (emtpy string or 0) if used in parameter script, causing additional warning.
Compatibility: introduced in ARCHICAD 21.

 

 


n = REQUEST ("Profile_default_geometry", name_or_index, n1, n2, ..., nm,
x11, y11, edgeVisible11, vertEdgeVisible11, additionalStatus11, ...,
x1n1, y1n1, edgeVisible1n1, vertEdgeVisible1n1, additionalStatus1n1,
x21, y21, edgeVisible21, vertEdgeVisible21, additionalStatus21, ...,
x2n2, y2n2, edgeVisible2n2, vertEdgeVisible2n2, additionalStatus2n2, ...,
xm1, ym1, edgeVisiblem1, vertEdgeVisiblem1, additionalStatusm1, ...,
xmnm, ymnm, edgeVisiblemnm, vertEdgeVisiblemnm, additionalStatusmnm)


Returns the original geometric data of the profile identified by name or index. Expression returns 0 and contains dummy return values (emtpy string
or 0) if used in parameter script, causing additional warning.

 

I have not tried using them.

I don't know any way of determining the position of a hotspot in a profile.

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Lingwisyer
Virtuoso

Those do not give you Hotspot locations.

 

I already use Profile_default_boundingbox to zero the origin of an extruded Complex Profile.

And Profile_default_geometry the request for the shape of of the selected Complex Profile.

 

 

 

Ling.

AC18-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200

Didn't find the answer? Start a new discussion

Labels

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!