Message 1 of 5
Create GenericObject from Workplane

Not applicable
03-24-2006
10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I have written an Add in with c#.
The main task of the Addin is to Include all workplanes in a Drawing view.
After i have collected all the workplanes from the derived Assembly in the view i want to start the command DrawingIncludeIndividualWorkFeaturesCtxCmd.
There for i fill the selectset with all the collected Workplanes.
But it doesn't work.
If I do the same with a preselected Workplane all works fine.
What must I do to translate a Workplane to an Generic Object
JesG
I have written an Add in with c#.
The main task of the Addin is to Include all workplanes in a Drawing view.
After i have collected all the workplanes from the derived Assembly in the view i want to start the command DrawingIncludeIndividualWorkFeaturesCtxCmd.
There for i fill the selectset with all the collected Workplanes.
But it doesn't work.
If I do the same with a preselected Workplane all works fine.
What must I do to translate a Workplane to an Generic Object
JesG