We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2009-11-09 02:18 PM - last edited on 2023-08-03 01:23 PM by Doreena Deng
2009-11-09 03:45 PM
Matti wrote:I'm not sure what happened to those functions, but you can achieve the same results using
ArchiCAD 12 DevKit has ConvHatchToPoly function in vectorimagedata.h
I cannot find it from ArchiCAD 13 DevKit. What to do??
I have used it in conversion of VectorImage profiles:
2009-11-10 10:23 AM
GSErrCode ACAPI_Element_ShapePrims ( const API_Elem_Head& elemHead, ShapePrimsProc* shapePrimsProc );
2009-11-10 01:00 PM
Matti wrote:Sorry, misunderstood what you are trying to do. Have you looked at the 'Attribute_Test' project in the API examples? This shows how you gain access to all the primitives in the vector image. You can extract the coordinates for hatches using the Sy_HatchType structure.
Thanks for the fast answer. What should I pass as elemHead when I want to extract the points of a beam profile which profileType is APISect_Poly?
2009-12-04 09:51 AM