I use ReferenceIntersector in my plugin,and use flowing codes to generate 3d View for ReferenceIntersector:
if user set view template for 3d view, then the view created may not show every model element.
how can i create a 3d view in which every model element is visible?
Solved! Go to Solution.
I use ReferenceIntersector in my plugin,and use flowing codes to generate 3d View for ReferenceIntersector:
if user set view template for 3d view, then the view created may not show every model element.
how can i create a 3d view in which every model element is visible?
Solved! Go to Solution.
Solved by RPTHOMAS108. Go to Solution.
Duplicate the type object set type parameter to none (DEFAULT_VIEW_TEMPLATE=New ElementId(0)) and use the new type in the create method
I get the 0 value from RevitLookup I expected it to be -1 for none (InvalidElementId).
Does that work?
Regarding ReferenceIntersector less is more: if you know the specific elements you are trying to find intersections with or their categories then those should be isolated to improve performance.
Duplicate the type object set type parameter to none (DEFAULT_VIEW_TEMPLATE=New ElementId(0)) and use the new type in the create method
I get the 0 value from RevitLookup I expected it to be -1 for none (InvalidElementId).
Does that work?
Regarding ReferenceIntersector less is more: if you know the specific elements you are trying to find intersections with or their categories then those should be isolated to improve performance.
Can't find what you're looking for? Ask the community or share your knowledge.