Hi, I need to gather objects on a specivied layername within model_space in C#.
How do I add a fileter to my filtervalues to only grab model_space objects.
TypedValue
[] filterValues = new[] { newTypedValue((int)DxfCode.LayerName, LayerName.ToUpper()) };
SelectionFilter filter = newSelectionFilter(filterValues);
PromptSelectionResult foundBlocks = this.ed.SelectAll(filter);
SelectionSet currSS = foundBlocks.Value;
or
how to I check after I get the object and check the blockname
currEnt = (Entity)objID.GetObject(OpenMode.ForWrite);
if (currEnt.BlockName != "*Model_Space")
Please if someone could give me some guidence with the syntax.
thanks