Message 1 of 5
Workpoint - create with coords and name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
Just looking for a vba code snippet to create a workpoint within an already open part file.
The point will have x, y and z coords which i believe is this piece of code
Dim wp As WorkPoint
Set wp = oCompDef.WorkPoints.AddFixed(ThisApplication.TransientGeometry.CreatePoint(xValue, yValue, zValue))
Can anyone help me with assigning a custom browser name to the point other than the default "Work Point1" please?
Regards
Mark
Inventor pro 2020