Hello,
The documentation for this method states that it can accept an array of doubles as it's only parameter, however the given example only passes in a single double value. The code example from the docs:
Dim instance As IRenderMaterial
Dim CenterPt As Double
instance.GetCenterPoint(CenterPt)
The docs state:
Parameters
CenterPt
Array of doubles (x, y, z) representing the centerpoint of the mapping for texture-based appearances
So which is it? In our testing (from C++ client code), we can successfully pass in an array, however only the first array element is ever set - the remaining 2 elements remain undefined.
Regards,
Bilal Junaid
SolidworksApi macros