Jump to content

Richard1

Member
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Richard1

  • Rank
    Greenhorn

Personal Information

  • Location
    United States

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. This function does not return nil on failure (VW2019 SP5.3), instead it seems to be returning the original object. Worse, I have not been able to find any documentation as to which object types are supported by the function. So far I have found that passing it a kLine2D returns the original object, thus the following snippet destroys the original drawing: MCObjectHandle tempPoly = gSDK->ConvertToPolygonN(h, (Boolean) true, 512); DoSomethingWithAPolygon"d(tempPoly); if (tempPoly) { gSDK->DeleteObjectNoNotify(tempPoly); } Fortunately this causes our plugin to crash, so our users have not lost data (yet)

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...