I would do two things:BHall wrote:Tom,
That was a lot to learn yesterday and it helped with you talking to code as we were reading it.
I have stumbled in to an issue since, where if I open a new dwg and try to run the lisp as we did yesterday and it keeps giving me
Value has to be nonzero.
I know it is something we got yesterday. I am just not sure why or what I did wrong, when I load an old file we tested in and run the same points threw it works just fine.
So I would like to start out by figuring out:
- How to have the lisp only use the block I created in new dwgs rather than the default POINT block? ( I swore I changed the actual file and within the block editor)
- How to convert the file from decimal feet in Meters to what we model to here which is Architectural feet and inches for Imperial?
1. I would use WBLOCK to write the changes we made yesterday to a new POINT.DWG file. Then I would open POINT.DWG, and I would use the UNITS command to set everything in it to Architectural.
2. I would try to -insert nonsense, which is a block that does not exist. Then I would examine the message AutoCAD gives to determine the directories that AutoCAD is searching (in which order) when it inserts POINT.DWG. I would decide which of those directories I want to be the home of the custom version of POINT.DWG. After I moved the POINT.DWG to that directory, I would use the following LISP expression to make sure AutoCAD is finding the right block:
- Code: Select all
Did I answer the right questions?