Space Creation Tool
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Space Creation Tool

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
stck2mlon
Guest





Posted: Sat Dec 11, 2004 8:50 am    Post subject: Space Creation Tool Reply with quote

I do some facility management work and have a question about making a utility.

I am given floor plans that have 2d line work for walls. I would like to be able to pick the interior walls, set a distance and have the walls offset to the distance set, then extend and trim as needed, then join ala Pedit. Maybe in plain English. I would basically like to calculate the area of a space to the center lines of all walls. Doing this one office at a time.

Any help even getting started would be awesome. I have some experience in LISP and VBA, so please be gentle.

Back to top
Rob
Guest





Posted: Sat Dec 11, 2004 7:59 pm    Post subject: Re: Space Creation Tool Reply with quote

I know you will get better answers, but here's something to consider in the
meantime.

If the wall lines are contiguous, look into the use of the BPOLY command to
do a ray trace. You'd have to isolate the wall layers first. BPOLY delivers
a closed polyline from a point picked inside a closed boundary of line and
arc segments. You would then offset a new polyline to a point outside the
closed polyline using a point created opposite the original pick point
(original pick being INSIDE, you calculate to and return a point OUTSIDE).
All of this could be accomplished with a single pick.

The advantage of starting with polylines is that an offset of a closed
polyline is a closed polyline. The first is temporary (traced walls), the
second is the keeper (centerlines), based on your note. Personally, I would
calculate the interior square footage of each room, not the square footage
to the centers of walls.

Rob Smith

"stck2mlon" <nospam@address.withheld> wrote in message
news:18431917.1102737051544.JavaMail.jive@jiveforum2.autodesk.com...
Quote:
I do some facility management work and have a question about making a
utility.

I am given floor plans that have 2d line work for walls. I would like to
be able to pick the interior walls, set a distance and have the walls offset

to the distance set, then extend and trim as needed, then join ala Pedit.
Maybe in plain English. I would basically like to calculate the area of a
space to the center lines of all walls. Doing this one office at a time.
Quote:

Any help even getting started would be awesome. I have some experience in
LISP and VBA, so please be gentle.
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB