Elevation Hotspots
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-09-01
07:25 AM
- last edited on
2023-07-13
03:40 PM
by
Doreena Deng
2015-09-01
07:25 AM
I've created a function that prints the API_PrimHotspot of the parent element of an API_SectElemType (based on its parentGuid) from an elevation view. When I mapped the coordinates of the neig of these primitive hotspots, it fits perfectly on the floor plan view of the object (door in this case).
The question is: How do I get the hotspots of an elevation view?
BTW, the returned API_PrimHotspot has the following values:
This question might also apply on Section and Interior Elevation.
EDIT (2015 Sep 03):
Using the hotspot's memo values for dimElems, I was able to get the inIndex of the door's hotspot on elevation view: 1-4 for the four corners; and, 25-26 for the two inner corner on top. These indices are different from the original post. As you can see, index 1 on previous post is in the middle while here it is in the side. Also, indices 25 and 26 is not on the original post.
The question is: How do I get the hotspots of an elevation view?
BTW, the returned API_PrimHotspot has the following values:
head.typeID: API_ZombiePrimID head.layer: 0 head.pen: 0 head.drwIndex: 0 head.renovationStatus: API_DefaultStatus loc: <<varies>> neig.neigID: APINeig_Door neig.guid: <<door GUID>> neig.inIndex: <<shown in the attached image, 1-23>> neig.flags: API_NeigFlg_Normal neig.elemPartType: APINeigElemPart_None neig.elemPartIndex: 0
EDIT (2015 Sep 03):
Using the hotspot's memo values for dimElems, I was able to get the inIndex of the door's hotspot on elevation view: 1-4 for the four corners; and, 25-26 for the two inner corner on top. These indices are different from the original post. As you can see, index 1 on previous post is in the middle while here it is in the side. Also, indices 25 and 26 is not on the original post.
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
Labels:
- Labels:
-
Add-On (C++)
0 REPLIES 0