Curtain Wall Geometry
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2010-11-30
03:40 PM
- last edited on
‎2024-09-09
10:58 AM
by
Doreena Deng
‎2010-11-30
03:40 PM
Hello,
I need to create 3D representation of curtain wall for export. I know that curtain walls in AC consists of segments, frames, panels, junction and accessories.
Here is couple of questions:
What is easiest way get access to curtain wall geometry?
How get access to curtain wall components using API_CurtainWallID?
I need to create 3D representation of curtain wall for export. I know that curtain walls in AC consists of segments, frames, panels, junction and accessories.
Here is couple of questions:
What is easiest way get access to curtain wall geometry?
How get access to curtain wall components using API_CurtainWallID?
API_CurtainWallType curtainWall; API_CWallSegmentType cwSegment; API_CWallFrameType cwFrame; API_CWallPanelType cwPanel; API_CWallJunctionType cwJunction; API_CWallAccessoryType cwAccessory;
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2010-11-30 06:53 PM
‎2010-11-30
06:53 PM
Matti wrote:Take a look at the documentation for ModelAccess - there are methods to access all the 3D primitives.
I need to create 3D representation of curtain wall for export. I know that curtain walls in AC consists of segments, frames, panels, junction and accessories.
Here is couple of questions:
What is easiest way get access to curtain wall geometry?
How get access to curtain wall components using API_CurtainWallID?
Alternatively, the (older) methods described in the 3D Manager documentation can be used too.
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2010-12-08 03:22 PM
‎2010-12-08
03:22 PM
Thanks a lot!
I managed to get curtain wall geometries quite easily. The 3D_Test.c example was useful.
Why in the 3D_Test.c example (see. code) there is degenerate check for frames too? This check seems to fail always for frames. I used the check only for panels.
I managed to get curtain wall geometries quite easily. The 3D_Test.c example was useful.
Why in the 3D_Test.c example (see. code) there is degenerate check for frames too? This check seems to fail always for frames. I used the check only for panels.
// frames GSSize nFrames = BMGetPtrSize (reinterpret_cast<GSPtr>(memo.cWallFrames)) / sizeof (API_CWallFrameType); for (idx = 0; idx < nFrames; ++idx) { err = ACAPI_Database (APIDb_IsCWPanelDegenerateID, &memo.cWallFrames[idx].head.guid, &isDegenerate); if (!isDegenerate) { elems.Push (memo.cWallFrames[idx].head); } else { GS::Guid guid = APIGuid2GSGuid (memo.cWallFrames[idx].head.guid); WriteReport ("Degenerate Frame: %s", (const char*) guid.ToUniString ().ToCStr ()); } } // panels GSSize nPanels = BMGetPtrSize (reinterpret_cast<GSPtr>(memo.cWallPanels)) / sizeof (API_CWallPanelType); for (idx = 0; idx < nPanels; ++idx) { err = ACAPI_Database (APIDb_IsCWPanelDegenerateID, &memo.cWallPanels[idx].head.guid, &isDegenerate); if (!isDegenerate) { elems.Push (memo.cWallPanels[idx].head); } else { GS::Guid guid = APIGuid2GSGuid (memo.cWallPanels[idx].head.guid); WriteReport ("Degenerate Panel: %s", (const char*) guid.ToUniString ().ToCStr ()); } }