Message 1 of 2
Pick Face from imported DWG (Mass Editor)
Not applicable
11-02-2020
01:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I have been trying to retrieve Face Reference from picked Face from imported DWG file:
and then create Divided Surface from the picked Face, that will have Nodes, so can be used to get points to place Adaptive Components. The problem is that the retrieved DividedSurface.HostReference
throws an exception:
That it caused by the fact that I want to get DividedSurface from imported DWG - I have tried to get the Solid of the picked Face and bake it as FreeFormElement but then cannot get the Face of that element to use its Reference here:
DividedSurface ds = DividedSurface.Create(document, pickedRef);
Is there any workaround to create a DividedSurface on a picked DWG surface?
Edit: Tried to get the face of the picked element but it returns all the faces from the DWG.