Message 1 of 2
		
    
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The created workplane is not aligned to the fitted arc. (see attachment)
foreach (PSMesh m in meshes)
{
   string mName = m.Name;
   // create arcs around each model(at largest diameter)
    PSArc psArc = psModel.Arcs.SketchArcThroughThreePoints();
   // align workplane in center of each arc
   PSWorkplane psWorkplane = psModel.Workplanes.CreateWorkplaneAlignedToEntity(psArc, psArc.Centre);
   psWorkplane.Name = mName;
   psModel.ActiveWorkplane = null;
}
The workplanes are created in the arc center, but are not aligned to the arc.
What am I missing here ?
Solved! Go to Solution.
 
             
		
			