Author:Ralph Wessel
Posted: Thu Dec 21, 2017 3:59 pm (GMT+1)
I don't have a working example, but I can give a bit more detail. This relevant to the ModelerAPI, where the polygonID is the index of a polygon (face) in a model view. The view will be comprised of 3D bodies, which are comprised of 3D polygons, which are defined by edges that are comprised of a start and end point. If you're iterating through the polygons in a 3D body, this method will tell you the role that face plays in the model, e.g. a wall reference side.
_________________
Ralph Wessel BArch
Central Innovation
Posted: Thu Dec 21, 2017 3:59 pm (GMT+1)
neerson wrote: |
Hi, Could you give me a working example for this? It's not clear which kind of polygonID mentioned here.. GSErrCode ACAPI_Goodies ( APIAny_PolygonId2SurfaceTypeID, const API_Element* elem, const Int32* polygonId, API_SurfaceTypeID* surfaceType ); |
I don't have a working example, but I can give a bit more detail. This relevant to the ModelerAPI, where the polygonID is the index of a polygon (face) in a model view. The view will be comprised of 3D bodies, which are comprised of 3D polygons, which are defined by edges that are comprised of a start and end point. If you're iterating through the polygons in a 3D body, this method will tell you the role that face plays in the model, e.g. a wall reference side.
_________________
Ralph Wessel BArch
Central Innovation