Does IntersectWith work in paperspace?

Does IntersectWith work in paperspace?

Anonymous
Not applicable
771 Views
2 Replies
Message 1 of 3

Does IntersectWith work in paperspace?

Anonymous
Not applicable

I am not having any luck getting intersectwith working in paperspace? I'm not trying to intersect with objects in model space, just all objects in paperspace.

 

Thanks.

0 Likes
772 Views
2 Replies
Replies (2)
Message 2 of 3

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

IntersectWith is independend of any space, it just compares coordinates. So you can also create a line just in memory - without adding it to any BlockTableRecord/space - and do the IntersectWith-check.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 3

Anonymous
Not applicable

Well, i sort of assumed that at first, but not getting any results, is there something I need to pass into it to make it work in paperspace? I can have the same object, same line in model space working, copy it to paperspace and it doesn't work. I'm not using the plane overload, wasn't sure how that'd apply to paperspace.

 

 

duh... just went back to code to check something and realized i was only scanning modelspace objects... goof...

 

Thanks anyway Alfred.

0 Likes