Message 1 of 5

Not applicable
11-11-2013
02:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Simple question: How do you add a WorkPoint in an Assembly?
I was hoping to find something like:
dim pt as new point ( 0, 0, 1)
oPartDef1.workpoints.add(pt)
~OR~
dim pt as point
pt.setlocation(0,0,1)
oPartDef1.workpoints.add(pt)
~OR~
dim pt as workpoint
set pt = oPartDef1.workpoints.addPoint(0,0,1)
It seems like I need to make a geometry (i.e. thisApplicaiton.TransientGeometry.CreatePoint(0,0,0) ) but I cannot find this feature for a componentOccurence. I don't want to make a "Global" point, I want to make a point "Local" to a particualar part.
Thank you,
-Kenny
Solved! Go to Solution.