Message 1 of 1
DXF code for Surface?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
i have problem with specify surface entity in selection filter. I have this piece of code:
SelectionFilter filter = new SelectionFilter(new TypedValue[] { new TypedValue((int)DxfCode.Operator, "<or"), new TypedValue((int)DxfCode.Start, "3DSOLID"), new TypedValue((int)DxfCode.Start, "REGION"), new TypedValue((int)DxfCode.Start, "SURFACE"), new TypedValue((int)DxfCode.Operator, "or>") });
Works fine for 3DSolid and Region, but not for Surface. I look at [DXF Reference|http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=12272454&linkID=10809853] and here is SURFACE as entity name, but SURFACE didn't work. So, i don't know the exactly name in TypedValue for Surface. Thanks for help.
i have problem with specify surface entity in selection filter. I have this piece of code:
SelectionFilter filter = new SelectionFilter(new TypedValue[] { new TypedValue((int)DxfCode.Operator, "<or"), new TypedValue((int)DxfCode.Start, "3DSOLID"), new TypedValue((int)DxfCode.Start, "REGION"), new TypedValue((int)DxfCode.Start, "SURFACE"), new TypedValue((int)DxfCode.Operator, "or>") });
Works fine for 3DSolid and Region, but not for Surface. I look at [DXF Reference|http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=12272454&linkID=10809853] and here is SURFACE as entity name, but SURFACE didn't work. So, i don't know the exactly name in TypedValue for Surface. Thanks for help.