How to create a construction entity (point or line) thru. centroid
How to create a construction entity (point or line) thru. centroid
(OP)
Hi,
For a closed geometries in a sketch, there is a centroid. I need to create a point or construcion line through this centroid. Is there a way to reference cordinates of the centroid via either equations or even API function?
Best regards,
Alex
For a closed geometries in a sketch, there is a centroid. I need to create a point or construcion line through this centroid. Is there a way to reference cordinates of the centroid via either equations or even API function?
Best regards,
Alex






RE: How to create a construction entity (point or line) thru. centroid
thread559-263826: Center of Mass Point Generation
thread559-130417: Relation to center of mass?
Eric
RE: How to create a construction entity (point or line) thru. centroid
Thanks for your quick reply! It is good, but no good enough as it is not parametric. It would be nice if we could build an equation to access cordinates of centroid (sketch) so than we use dimensions to locate point/line at the centroid.
The following command line is for a solid model:
Set Point = ModelDoc.CreatePoint2(MassProp(0), MassProp(1), MassProp(2))
Does anyone know what is the equivalent for a sketch (centroid)?
Best regards,
Alex
RE: How to create a construction entity (point or line) thru. centroid
--
Hardie "Crashj" Johnson
SW 2010 SP 4.0
HP Pavillion Elite HPE
W7 Pro, Nvidia Quaddro FX580