.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does IntersectWith work in paperspace?

2 REPLIES 2
Reply
Message 1 of 3
ViktorCAD
311 Views, 2 Replies

Does IntersectWith work in paperspace?

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.

2 REPLIES 2
Message 2 of 3
Alfred.NESWADBA
in reply to: ViktorCAD

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
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 3
ViktorCAD
in reply to: Alfred.NESWADBA

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost