get dimensions for all poly lines with respect to grid lines

get dimensions for all poly lines with respect to grid lines

archana96
Enthusiast Enthusiast
989 Views
11 Replies
Message 1 of 12

get dimensions for all poly lines with respect to grid lines

archana96
Enthusiast
Enthusiast

Hi ALL,

I Have a Lisp that gives dimensions concerning the grid for one particular object, but I need dimensions for all the objects in the drawing.

I am attaching the Lisp and drawing files...

 

please do the needful 

 

thank you...

0 Likes
Accepted solutions (1)
990 Views
11 Replies
Replies (11)
Message 2 of 12

-didier-
Advisor
Advisor

Bonjour @archana96 

 

I am attaching the Lisp and drawing files...

I think you didn’t get to the end of your delivery
There are no attachments to the message

 

Amicalement

Éternel débutant.. my site for learning : Programmer dans AutoCAD

DA

EESignature

0 Likes
Message 3 of 12

archana96
Enthusiast
Enthusiast

here is the file

 

0 Likes
Message 4 of 12

Rick_Tolleshaug_TSC
Advocate
Advocate

Here is some code to help you get part the way there.

1. User makes selection returning just polylines on layer "FOOTING"

2. Then for each footing polyline...a "W"indow selection is done selecting polylines on layer "COL" within the given footing

 

This sets you up to point where you have entity name for a given footing polyline and entity names for the column polylines within.

Hope this helps.

0 Likes
Message 5 of 12

Sea-Haven
Mentor
Mentor

Another, its still under development, does outside will add inside next.

SeaHaven_0-1730679281115.png

 

0 Likes
Message 6 of 12

Rick_Tolleshaug_TSC
Advocate
Advocate

The attached DimFtgs.lsp was built from ground up and defines command DIMFTGS.  This command has you select footings then dimensions all selected footings to the criteria per your drawing. Meaning...

  1.  creates overall dimensions at top and left of footing
  2.  creates continuous dimension, hitting column grid lines, at bottom and right

Function requires (based on your drawing):

  1.  footing objects to be closed polyline rectangles on layer "FOOTING"
  2.  column objects to be closed polyline rectangles on layer "COL"
  3.  grid objects to be line objects on layer "CENTER"
  4.  dimensions to use current dimension style

Let me know if this is the solution you were requesting.

0 Likes
Message 7 of 12

Rick_Tolleshaug_TSC
Advocate
Advocate
It's been several days, with no reply, since proposed solution (DimFtgs.lsp) was posted, any thoughts?
0 Likes
Message 8 of 12

Sea-Haven
Mentor
Mentor

@Rick_Tolleshaug_TSCwelcome to the world of forums, Elvis has left the building and so has @archana96 

Message 9 of 12

archana96
Enthusiast
Enthusiast

Thankyou Sir,

its Helpful

but i need the same as in feet drawings

0 Likes
Message 10 of 12

archana96
Enthusiast
Enthusiast

It looks good but I need a feet and inches file. can you convert this from mm to feet ?

0 Likes
Message 11 of 12

cadffm
Consultant
Consultant

Hi,

 

this Lisp has nothing to do with Decimals/Millimeters or Feet, it's your dimstyle only.

Or does I miss something?

 
 

 

 

Sebastian

0 Likes
Message 12 of 12

Rick_Tolleshaug_TSC
Advocate
Advocate
Accepted solution

DimFtgs.lsp utilizes the current dimstyle, it does not manipulate units for dimensioning. To get feet you must set the current dimstyle (command DIMSTYLE) to one whose Primary Units are feet. 

0 Likes