2021-09-30 04:49 AM - last edited on 2024-09-09 11:23 AM by Doreena Deng
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.
Ling.
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2021-09-30 06:05 AM
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.
2021-09-30 09:12 AM
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.
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2021-12-18 04:39 PM
I think not possible.