نامفهوم (فرمان)
به یک دستور تعریف شده از برنامه اجازه می دهد تا یک دستور داخلی را نادیده بگیرد. فقط می توانید دستورات داخلی اتوکد را تعریف کنید. شما نمی توانید
انواع دستورات زیر را تعریف کنید:
- دستورات تعریف شده توسط AutoLISP آ® . این شامل دستورات برنامه ObjectARXâ می باشد که توسط acedDefun () ثبت شده است .
- دستورات و نامهای خارجی تعریف شده در پرونده acad.pgp .
اگر یک برنامه AutoLISP یا ObjectARX دستوری را با همان نام دستور AutoCAD داخلی تعریف کرده باشد ، دستور تعریف شده از برنامه فعال است. می توانید یک دستور کار نشده با REDEFINE بازیابی کنید.از دستورات زیر برای اجرای دستورات تعریف نشده یا دستورات ثبت شده ObjectsARX استفاده کنید:
- برای اجرای یک دستور داخلی ساخته نشده در اتوکد ، قبل از نام فرمان با یک دوره
(.) پیش بروید. - برای اجرای دستورات برنامه ObjectARX که توسط acedRegCmd ثبت شده اند ، قبل از نام فرمان با یک دوره (.) ، نام گروه فرمان و
دوره دیگری (.) پیش بروید. به عنوان مثال ، می توان به دستور MTEXT با .acad_mtext.mtext دسترسی پیدا کرد .برای دیدن لیستی از نام فرمان ها و گروه های یک برنامه ObjectARX ، از
دستور ARX استفاده کرده و گزینه Commands را انتخاب کنید.
منابع مرتبط
UNDEFINE (Command)
Allows an application-defined command to override an internal command.
You can only undefine built-in AutoCAD commands. You cannot undefine the following
types of commands:
- Commands defined by AutoLISP آ® . This includes ObjectARXâ„¢ application commands registered by acedDefun().
- External commands and aliases defined in the acad.pgp file.
If an AutoLISP or ObjectARX application has redefined a command with the same name
as a built-in AutoCAD command, the application-defined command is active.
You can restore an undefined command with REDEFINE.
Use the following syntax to run undefined commands or registered ObjectsARX commands:
- To run an undefined built-in AutoCAD command, precede the command name with a period
(.). - To run ObjectARX application commands that are registered by acedRegCmd, precede the command name with a period (.), the command’s group name, and another
period (.). For example, the MTEXT command can be accessed with .acad_mtext.mtext.To see a listing of command names and groups of an ObjectARX application, use the
ARX command, and choose the Commands option.
Related Concepts