dimordinate attribute

**** Post for FREE via your newsreader at post.usenet.com ****
To All
I have hit a brickwall, and need some advice or help.
Basically I have created blocks and added attributes to those blocks, but I would like a "dimordinat Attribute", so when I insert the block into my drawing I get the coordinates next to it (X,Y), along with my other attributes.
Any help or advice will be gratefull
TIA
Jonnymac
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! *** http://www.usenet.com Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
I would recommend that you create a LISP routine that prompts for the point, stores the coordinates, and then inserts the block with one attribute at that point. You could make a string out of the coordinates, put a comma between them, and then input the string into the attribute value at the time of insertion.
There are a couple of routines on my site that you could use as a starting point for parts of this function. BSEQ.LSP does the attribute entry part, and HOWHI.LSP does the point coordinate-to-string part.
--


MichaelB
www.michaelbulatovich.ca
  Click to see the full signature.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.