How to get result by vcTopology.getFaceMinPointDistance

print geof.Geometry.GeometrySets[0]
print geof.Geometry.GeometrySets[0].Topology.getFaceMinPointDistance(0,,8,0))


i expect to get position vector and distance of a given point to a face by this routine of premium version 4.4, but the result is ‘none’, where is the mistake?

In order to get a result when calling vcTopology.getFaceMinPointDistance(int, vec), your geometry should have been created with mathematical data. In the CAD Import panel there is an option to import the Mathematical data.

As an alternative, you can use the topology object to create this information.

thanks for your help!