Is it possible to change a setting when using the rectangle/polygon commands to have them created as a Polyline? It is currently set up as individual lines. Didn't previous versions allow for this?
|
|
|
Is it possible to change a setting when using the rectangle/polygon commands to have them created as a Polyline? It is currently set up as individual lines. Didn't previous versions allow for this?
Jeff in 2002 at least the help file has this to say:
RECTANG Draws a rectangular polyline , so polyline is
the default entity. Sounds like someone has redefined your
command.
I haven't tested the rectang commands relation to the
PLINETYPE system variable they may be related.
Last edited by mjfarrell; 2004-09-30 at 03:41 PM.
Michael-
Thank you for letting me know about PLINETYPE- I was not aware of this, however this did not work. I tried creating a rectangle with RECTANG with PLINETYPE set to 0, 1, and 2 with no luck. When you go to help in '05 it says exactly what you said "draws a rectangular Polyline". I have checked with some of the other users here and they have the same problem with theirs they also mentioned that it worked that way in '04 as well. Drawing a POLYGON will do this for us, but that will not create a rectangle (just a square).
Hi,
I think the PLINETYPE variable deals with the conversion of non-optimised (older version) polylines to optimised when opening existing drawings or creating new plines (including polygons, boundaries and rectangles). The default setting is 2.
I think I would check for a re-defined command. Do a search for a file called either acad.lsp or acaddoc.lsp If one exists then have a look at it with notepad and look for some code like
(defun-q S::STARTUP ( )
(command "undefine" "rectang")
...
)
If this is there then the command has been undefined.
Make a safe copy of the acad.lsp or acaddoc.lsp then edit out the (command "undefine" "rectang") line.
Restart Autocad and see what happens.
Good luck.
Roy
Hi
To go with Roy's suggestion, instead of searching for undefined commands simply put a period in-front of the native AutoCAD command, this will force the native command to run regardless....
._Rectang
Have a good one, Mike
Last edited by Mike.Perry; 2004-10-01 at 09:45 AM. Reason: Correct grammar
I wish I knew what the variable was - I looked but didn't find anything. I can tell you that, in Vanilla 2005 and Mechanical 2005, both the rectangle command and the polygon command create polylines, not individual lines.
It is almost as if yours are getting exploded somehow. I will look further to see if I can find anything.
oh yeah, I'd forgotten about the dot thing. Thanks for the reminder.
Roy
I can confirm that the rectangle command draws polylines in Map and LDT 2005. I searched through the help but could not find any variables that would contorl this. I agree with above posts that the command has probably been redefined.
You know I forgot about the "dot" thing also. I think the last time I used it was like Release 12. I tried experimenting with it in LDT 3 but it did not seem to work. Anyone know why not?
In our system qleader is undefined and defined as leader. When I type ._qleader or .qleader it still runs the leader command.
I changed the acaddoc.lsp to only undefine qleader and not define it as leader. When I type ._qleader or .qleader it says unknown command "QLEADER".
Hi
With QLeader undefined use the following to run the QLeader command -
_.ACAD_DIM.QLEADER
The following Technical Document explains further -
ID: TS30704 - Executing undefined dimension commands
Have a good one, Mike