Author Topic: boundary trace with Autocad Architecture 2009  (Read 1791 times)

0 Members and 1 Guest are viewing this topic.

ihope

  • Guest
boundary trace with Autocad Architecture 2009
« on: June 19, 2010, 04:37:11 PM »
hello , i need a way to making bourdary by picked point ,

"i knew that 2010 have boundry tracer , but i cant force my custmor to use it"

how to evaluate boudary between walls  AecDbWall(s)
i tried to do by graph section ,
but my problem with strange justification walls like:
3 walls with left just. & a wall with right just.
thanks for reading.

murrdpirate

  • Guest
Re: boundary trace with Autocad Architecture 2009
« Reply #1 on: June 23, 2010, 01:08:16 AM »
I needed to trace the boundaries of Architectural Spaces, and the best I could come up with is collecting the object snap points, specifically the end points.  This is what I did, I'd think you could to the same with a wall.

Code: [Select]
Dim mySpace As Autodesk.Aec.Arch.DatabaseServices.Space = SpaceId.GetObject(OpenMode.ForRead)
Dim pickPT As Point3d
Dim myPlPtColl As New Point3dCollection
Dim geomlds = New IntegerCollection(1)
geomlds.Add(0)
mySpace.GetObjectSnapPoints(ObjectSnapModes.ModeEnd, 0, pickPT, pickPT, Matrix3d.Identity, snapPts, geomlds, Matrix3d.Identity)