دستور IMAGE- در اتوکد
-IMAGE (فرمان)
یک تصویر شطرنجی را به نقاشی متصل می کند.
با اجرای دستور پیام های زیر نمایش داده می شود.
- گزینه تصویر را وارد کنید
-
گزینه ای برای بارگیری ، بارگیری ، پیوست یا جدا کردن تصویر را مشخص می کند.
؟ List € “لیست تصاویر
تصاویر را با نام به ترتیب حروف الفبا ، تعداد دفعاتی که هر کدام به نقشه پیوست شده است ، و مسیری که تصویر در آن قرار دارد ، لیست می کند. صرف نظر از تنظیم متغیر سیستم MAXSORT ، تصاویر به ترتیب حروف الفبا ذکر شده اند .
جدا
تصویر نامگذاری شده را از نقاشی جدا می کند ، آن را برای حذف علامت گذاری می کند و همه وقایع تصویر را پاک می کند.
مسیر
نام مسیر (از جمله نام پرونده) مرتبط با یک تصویر خاص را به روز کنید. این گزینه در صورت تغییر مکان یک فایل تصویری ، تغییر نام فایل یا جایگزینی یک فایل تصویری قدیمی با یک فایل جدید مفید است. به عنوان مثال ، می توانید image01.png را به روز کنید و آن را به عنوان image02.png ذخیره کنید .
اگر ستاره ( * ) را وارد کنید ، فوریت زیر نمایش داده می شود:
- مسیر قدیمی
-
نام مسیر فعلی را برای هر تصویر لیست می کند.
- مسیر جدید
-
نام مسیر جدید را برای تصویر مشخص شده مشخص می کند.
بارگیری مجدد
تصاویر انتخابی را بارگیری مجدد می کند و آن اطلاعات را برای نمایش و ترسیم در دسترس می کند.
بارگیری کنید
داده های تصویر را از حافظه کاری حذف می کند تا تصاویر نمایش داده نشوند ، بنابراین عملکرد را بهبود می بخشد. تمام اطلاعات مرتبط با تصویر با نقشه ذخیره می شوند . قاب تصویر هر تصویر پیوست قابل مشاهده است.
ضمیمه کنید
یک تصویر جدید یا یک کپی از یک تصویر پیوست شده به نقاشی فعلی وصل می کند. کادر گفتگوی Select Image File (جعبه گفتگوی انتخاب فایل استاندارد) نمایش داده می شود.
نام پرونده بدون پسوند به عنوان نام تصویر اختصاص داده می شود. نام تصویر می تواند حداکثر 255 نویسه داشته باشد و شامل حروف ، رقم ها ، فاصله ها و شخصیت های خاصی باشد که توسط سیستم عامل یا این برنامه استفاده نشده است. اگر نام پرونده یک نام معتبر برای یک موضوع غیره نباشد ، کادر گفتگوی Substitute Image Name نمایش داده می شود. یک نام تصویر معتبر از نام پرونده ایجاد می شود و یک علامت زیر و شماره به این نام اضافه می شود.
اگر تعریفی با همین نام و مسیری در نقاشی وجود داشته باشد ، عبارت های زیر نمایش داده می شود و تصویر به صورت کپی درج می شود:
- نقطه درج را مشخص کنید
-
محل اتصال تصویر را مشخص می کند.
- اندازه تصویر پایه
-
عرض و ارتفاع را مشخص می کند.
- ضریب مقیاس را مشخص کنید
-
مقیاس را مشخص می کند.
- زاویه چرخش را مشخص کنید
-
چرخش تصویر را مشخص می کند.
اگر متغیر سیستم FILEDIA بر روی 0 تنظیم شده باشد ، دستور زیر به جای کادر گفتگو نمایش داده می شود :
- نام فایل را برای پیوست وارد کنید
-
اگر متغیر سیستم FILEDIA روی 0 تنظیم شده باشد ، این گزینه سریع ظاهر می شود. آخرین نام تصویر متصل به نقاشی در جلسه فعلی به طور پیش فرض است. برای جلوگیری از خطا هنگام وارد کردن نام تصویر ، توصیه می شود نام و نام فایل را در یکی از دو قالب زیر مشخص کنید: imagename = path namelong file name.bmp یا imagename = “مسیر namelong file name.bmp” .اگر یک نام تصویر معتبر و بدون پسوند پرونده وارد کنید ، برنامه به این ترتیب پرونده را جستجو می کند: اول یک تعریف تصویر موجود در نقشه و دوم ، یک تصویر تصویری در پوشه ها به ترتیب مسیر جستجو. این برنامه بدون در نظر گرفتن برنامه افزودنی ، تمام پرونده های تصویری را با نام مشخص شده جستجو می کند و از اولین نام یافت شده استفاده می کند. اگر نام تصویر یا پرونده تصویری یافت نشد ، پیام “تصویر یافت نشد ” نمایش داده می شود و اعلان تکرار می شود.برای مشخص کردن نام پرونده طولانی که مطابق با قوانین نامگذاری این برنامه نیست ، نام را به شرح زیر وارد کنید: ” imagename = name name “.
می توانید از کادر محاوره ای برای جستجوی فایل های تصویری استفاده کنید اما همچنان علامت تصویر = کنوانسیون نام پرونده را در خط فرمان وارد کنید. tilde ( ~ ) را در قسمت Name Image File Name برای پیوست کردن وارد کنید. اگر بعد از باز شدن کادر محاوره ای ، Esc را فشار دهید ، اعلان Enter Image Name نمایش داده می شود.
-IMAGE (Command)
Attaches a raster image to the drawing.
The following prompts are displayed.
- Enter image option
-
Specifies an option for loading, unloading, attaching or detaching an image.
?—List Images
Lists the images by name in alphabetical order, the number of times each is attached
to the drawing, and the path where the image is stored. Images are listed in alphabetical
order, regardless of the setting of the MAXSORT system variable.
Detach
Detaches the named image from the drawing, marks it for deletion, and erases all occurrences
of the image.
Path
Updates the path name (including file name) associated with a particular image. This
option is useful if you change the location of an image file, rename the file, or
replace an old image file with a new file; for instance, you can update image01.png and save it as image02.png.
If you enter an asterisk (*), the following prompt is displayed:
- Old path
-
Lists the current path name for each image.
- New path
-
Specifies the new path name for the specified image.
Reload
Reloads the selected images, making that information available for display and plotting.
Unload
Removes image data from working memory so that the images are not displayed, thus
improving performance. All information associated with the image remains stored with
the drawing. The image frame of each attached image remains visible.
Attach
Attaches a new image or a copy of an attached image to the current drawing. The Select
Image File dialog box (a standard file selection dialog box) is displayed.
The file name without the extension is assigned as the image name. Image names can
include up to 255 characters and contain letters, digits, spaces, and any special
characters not used by the operating system or this program. If the file name is not
a valid name for a nongraphical object, the Substitute Image Name dialog box is displayed.
A valid image name is generated from the file name and an underscore and number are
appended to the name.
If a definition with the same name and path exists in the drawing, the following prompts
are displayed and the image is inserted as a copy:
- Specify insertion point
-
Specifies where to attach the image.
- Base image size
-
Specifies width and height.
- Specify scale factor
-
Specifies a scale.
- Specify rotation angle
-
Specifies the rotation of the image.
If the FILEDIA system variable is set to 0, the following prompt is displayed instead
of the dialog box:
- Enter image file name to attach
-
This prompt appears if the FILEDIA system variable is set to 0. The last image name
attached to the drawing during the current session is the default. To avoid errors
when entering an image name, it is recommended that you specify both the image name
and the file name in one of the two following formats: imagename=path namelong file name.bmp or imagename=”path namelong file name.bmp”.If you enter a valid image name without a file extension, the program searches for
the file in this order: first, an existing image definition in the drawing, and second,
an image file in the folders in order of the search path. The program searches for
all the image files with the specified name, regardless of extension, and uses the
first name found. If no image name or image file is found, the message “Image Not
Found†is displayed and the prompt is repeated.To specify a long file name that does not conform to this program’s naming rules,
enter the name as follows: “imagename=filename“.
You can use a dialog box to search for image files but still enter the imagename=filename convention at the Command prompt. Enter a tilde (~) at the Enter Image File Name to Attach prompt. If you press Esc after the dialog
box opens, the Enter Image Name prompt is displayed.