2017-12-15 03:15 PM - last edited on 2022-12-06 01:47 PM by Daniel Kassai
2017-12-21 03:59 PM
neerson wrote: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.
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
);