Jump to content

generate X & Y coordinates into table


The Courage Dog

Recommended Posts

> oliver

 

Modify 'Area multiplayer' and 'Precision of coordinates' in 'Adjustment' section of the code.

 

thank you..will give it try..

 

oliver

Link to comment
Share on other sites

  • 4 weeks later...

The one in post #31 does nothing for me. all it does is create a region, but no table ever appears.

 

The one in post #23 works, but it doesn't label the point on the object at all.

Link to comment
Share on other sites

What version of AutoCAD (or vertical product such Arhitectural Desktop etc.) you use? Please attach some drawing of where does not work.

 

Here is latest version http://www.asmitools.com/Files/Lisps/Tabcord.html

 

The work program is tested only for the "plain" AutoCAD 2005 - 2008. I hope that it works and in 2009 - 2010. But I can not guarantee that it work for all the vertical products.

 

It just will not work in BricsCAD and other products relative to Open Design Alliance.

Link to comment
Share on other sites

What version of AutoCAD (or vertical product such Arhitectural Desktop etc.) you use? Please attach some drawing of where does not work.

 

Here is latest version http://www.asmitools.com/Files/Lisps/Tabcord.html

 

The work program is tested only for the "plain" AutoCAD 2005 - 2008. I hope that it works and in 2009 - 2010. But I can not guarantee that it work for all the vertical products.

 

It just will not work in BricsCAD and other products relative to Open Design Alliance.

 

how to edit the txtsize and table?

:(

Link to comment
Share on other sites

how to edit the txtsize and table?

 

Look for ADJUSTMENT at begin of code:

 

 

;;;  ****************************************************************
;;;  *************************** ADJUSTMENT *************************
;;;  ****************************************************************

 (setq mType nil) 	; Markups mode. T - digits, NIL - letters
 
 [color="Blue"](setq tHt -1.0)    	; Table text size. Positive - absolute,
                       ; negative multiplayer to TEXTSIZE variable[/color]
 
 [color="#0000ff"](setq mHt -2.0)	; Markups text size. Positive - absolute,
                       ; negative - multiplayer to TEXTSIZE variable[/color]
 
 (setq cAcu 4)    	; Precision of coordinates (from 0 to 

 (setq dHead nil)   	; If T delete table header, if NIL not delete

 (setq hStr "Land # ") ; Standard header (if dHead not equal T)

 (setq hHt -1.25)      ; Header text size. Positive - absolute,
                       ; negative - multiplayer to TEXTSIZE variable
 
 (setq w1 -10.0)       ; 'Point' column width. Positive - absolute,
                       ; negative - multiplayer to TEXTSIZE variable

 (setq w2 -20.0)       ; 'X' and 'Y' colums width. Positive - absolute,
                       ; negative - multiplayer to TEXTSIZE variable

 (setq w3 -12.0)       ; 'Radius' column width. Positive - absolute,
                       ; negative - multiplayer to TEXTSIZE variable
 
 (setq isPer T)	; if T adds perimeter row

 (setq isAre T)        ; if T adds area row

 (setq isGCen T)       ; if T adds center of gravity row

 (setq pMul 0.001)     ; perimeter multiplayer

 (setq aMul 0.000001)  ; area  multiplayer

;;;  ****************************************************************
;;;  ************************* END ADJUSTMENT ***********************
;;;  ****************************************************************

Link to comment
Share on other sites

What version of AutoCAD (or vertical product such Arhitectural Desktop etc.) you use? Please attach some drawing of where does not work.

 

Here is latest version http://www.asmitools.com/Files/Lisps/Tabcord.html

 

The work program is tested only for the "plain" AutoCAD 2005 - 2008. I hope that it works and in 2009 - 2010. But I can not guarantee that it work for all the vertical products.

 

It just will not work in BricsCAD and other products relative to Open Design Alliance.

 

I have Map 3D 2010.

Link to comment
Share on other sites

What would be stellar is a modification of the ID command. It would take the results of the ID and copy the X,Y coordinates to the clipboard so you can paste them into an excel table. It would be awesome if you could click as many points as you want and then hit enter when done to generate the copy. Not sure if this is possible (copying it to the clipboard). An alternative would be it generating a text file or something with a comma separator.

 

The reason I would love this is we do air modeling and I have to take coordinate points off drawings to put into a table that can be used in modeling programs. It's very tedious.

 

I'm open to the easiest way to get those coordinates into a table (not within the drawing).

Link to comment
Share on other sites

The data extraction tool does something similar to this but it doesn't seem to have X,Y points for the polylines. Maybe I am not doing it right (have to play around with it some more).

 

The geometry output seems to work well for circles though.

 

EDIT - if you select points as the objects to output (instead of line, polyline, etc) it works great.

Link to comment
Share on other sites

  • 4 weeks later...
  • 8 months later...
i have levels of a ground surface then how can i make a contour

 

Perhaps you'll get more responses if you post your question as a new thread. Please provide as much detail as you can so responders can answer your question as fully as possible. Thanks.

Link to comment
Share on other sites

Well it looks like "ASMI" is no longer a member of this forum.

 

This Lisp works great, I love it...

 

I can select individual lines or arcs, but I can't "select" more than one line or arc.

 

Is there a keyboard shortcut for window crossing/window selection? or a right click option when selecting?

 

Any help?

Link to comment
Share on other sites

Well it looks like "ASMI" is no longer a member of this forum.

 

This Lisp works great, I love it...

 

I can select individual lines or arcs, but I can't "select" more than one line or arc.

 

Is there a keyboard shortcut for window crossing/window selection? or a right click option when selecting?

 

Any help?

 

It looks like ASMI has used an "entsel" selection - permitting selection of only 1 object.

 

So No - these options aren't available to you.

Link to comment
Share on other sites

PLEASE LOOK IN MESSAGE #31 AND MESSAGE #35

 

Many points listed in that table, I can't seem to select more than one.

 

Did he update the LISP somewhere along the line in that forum post?

 

In AMSI's last forum post, he attached a .Zip file with many lisps.

(I wonder if one of them was changed)

 

Thanks for your help...

Link to comment
Share on other sites

PLEASE LOOK IN MESSAGE #31 AND MESSAGE #35

 

Many points listed in that table, I can't seem to select more than one.

 

The images shown in Msg #31, and #35 still display the correct number of points per polyline. There is the possibility that ASMI produce each table separately you know...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...