Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I find it useful that I can name parts, sketches and workplanes, but it seems I cannot name SketchPoint objects.
I may be looking in the wrong place but for example this does not work.
CComPtr<SketchPoint> pInventorPt; pSketch->SketchPoints->Add (pThePoint,VARIANT_TRUE,&pInventorPt);
// Change the name of the point... pInventorPt->Name = L"OWENS POINT" ; // !!!COMPILER ERROR HERE!!!
Is it possible to assign an id to SketchPoints and other sketch entities?
(An aside: I suppose I'm asking how to identify specific objects in a sketch. For example there may be two center points and my program needs to get hold of the correct one.)
Solved! Go to Solution.