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

get intersection of an entity inside an xref and entity in modelspace

3 REPLIES 3
Reply
Message 1 of 4
a7v1n
463 Views, 3 Replies

get intersection of an entity inside an xref and entity in modelspace

hi. is there any way to get the intersection points of an entity inside an xref and a line,arc,spline,pline in modelspace? im using vb.net. thanks...
3 REPLIES 3
Message 2 of 4
bertyboy
in reply to: a7v1n

Are you getting the user to interact by picking the entities?
Message 3 of 4
a7v1n
in reply to: a7v1n

yes... id like to select the xref and line and get their intersection points
Message 4 of 4
bertyboy
in reply to: a7v1n

On the first think, I would say you need to copy the entity from your xref (to your current drawing, move this entity relating to the displacement of your xref. Scale by your xref scale. Rotate by your xref rotation.

Dim bDB As New Database(false, false)
bDB.ReadDwgFile("XrefPath",IO.FileShare.Read, True, "")

use WblockCloneObjects you can check on the forum.

Then use the IntersectWith method.

Maybe erase new entity.

Good luck!
Bert

Edited by: bertyboy on Apr 9, 2010 4:36 AM

Edited by: bertyboy on Apr 9, 2010 4:39 AM Edited by: bertyboy on Apr 9, 2010 4:39 AM

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