CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedOM command

 Post Reply Post Reply
Author
IMGrumpy View Drop Down
Newbie
Newbie


Joined: 23.Oct.2013
Location: United States
Using: AutoCad2011
Status: Offline
Points: 3
Direct Link To This Post Topic: OM command
    Posted: 23.Oct.2013 at 21:26
At sometime in the past when using 2008 I came across the OM command, but I don't remember where.  What this command does is as follows.  OM enter returns in the command line OFFSET DISTANCE if you enter a distance and then enter it reurns SELECT OBJECT TO OFFSET then you select an object and enter which returns SELECT SIDE once a side is selected and entered it will ask how many times entering a number and then enter will offset the object by the distance the number of times requested.  It is very handy and I use it a lot.  Again I do not remember where I came up with this.  For some reason this only works on my machine none of the other 14 in the office recognize the command, it worked on 2008 and when I upgraded to 2011 it still works, I am hoping that with the pending upgrade to 2013 or 2014 that it will continue.  I have searched appload and cannot see where I have ever loaded it.  Where does this command come from?  Where did I get it?
 
Thanks
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 24.Oct.2013 at 00:47
Maybe it is a lisp routine?
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
heinsite View Drop Down
Senior Member
Senior Member


Joined: 05.Feb.2009
Location: United States
Using: AutoCAD 2014
Status: Offline
Points: 640
Direct Link To This Post Posted: 24.Oct.2013 at 09:59
John may be on to something.  Run a search on your system from the root directory for OM.LSP and see what you find.  If you do come up with a hit open the file with a word processor and have a look at it.  If only you have it then it's a file on your system in an AutoCAD common directory, so it won't matter what version you're using... it will still work.

Dave.
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 24.Oct.2013 at 11:41
I'm guessing the the OM is short for Offset Multiple.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
IMGrumpy View Drop Down
Newbie
Newbie


Joined: 23.Oct.2013
Location: United States
Using: AutoCad2011
Status: Offline
Points: 3
Direct Link To This Post Posted: 24.Oct.2013 at 12:27
Yes OM is Offset Multiple, but it seems to work different as I can select the object, enter the offset distance and them enter how many times to offset the object.  Kinda like a modified array.

Edited by IMGrumpy - 24.Oct.2013 at 12:28
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 24.Oct.2013 at 14:56
So did you search for OM.lsp on your hard drive?  Or just do a general search for all lisps routines as in many cases the file itself has a different name then the command used to invoke it.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 24.Oct.2013 at 15:07
For the time being you could use the Offset > Multiple option.  Every time you pick with your mouse another line is created offset from the last the distance specified.

Command: OFFSET

Current settings: Erase source=No  Layer=Source  OFFSETGAPTYPE=0
Specify offset distance or [Through/Erase/Layer] <0.2500>: .5

Select object to offset or [Exit/Undo] <Exit>:
Specify point on side to offset or [Exit/Multiple/Undo] <Exit>: M

Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
Specify point on side to offset or [Exit/Undo] <next object>:
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 24.Oct.2013 at 15:22
Here is another option.  It is a custom lisp routine by Lee Mac called Dynamic Offset.  Check it out...

http://lee-mac.com/dynamicoffset.html
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 686
Direct Link To This Post Posted: 24.Oct.2013 at 16:44
>> ... Run a search on your system from the root directory for OM.LSP ....
 
It might not be a file called OM.lsp.  If it were me, I would probably call the file something like OffsetMultiple.lsp, so I'd know what it was about when looking at file names, with the command name defined inside it as OM for short.  But even that would only apply if it's defined in a file devoted to only the one command.  It might rather be in the acaddoc.lsp file, or some other .lsp file that contains definitions of multiple commands -- looking at the APPLOAD history will show the file name, but not the names of commands defined within it.
 
What you really should try to find is a file containing C:OM in it, because if it's an AutoLISP-(defun)'d command, that will necessarily be the command-name designation.  The basic Windows Explorer Search function won't search for content within .lsp files as it will in .txt or .doc or some other file types, but there may be a way to add that file type to those that it will search within, or other means of searching for content inside files.
 
Then there's also the possibility that it's in some kind of compiled file format, such as .arx or .fas, that may not be searchable in that way at all (I haven't tried such a thing).


Edited by Kent Cooper - 24.Oct.2013 at 16:55
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,152 seconds.