لیسپ های کاربردی اتوکد

دستور ATTDEF- در اتوکد

-ATTDEF (فرمان)

همان دستور ATTDEF است با این تفاوت که پنجره مربوط به این دستور بالا نمی آید و با استفاده از خط فرمان می توان کارهای این دستور را انجام داد. در خط فرمان ، یک تعریف ویژگی برای ذخیره داده ها در یک بلوک ایجاد می کند.

یک صفت ، شیئی است که با تعریف بلاک ایجاد و در آن گنجانده شده است. ویژگی ها می توانند داده هایی مانند شماره قسمت ها ، نام محصولات و غیره را ذخیره کنند.

پیام های زیر نمایش داده می شود.

حالت های ویژگی

مقادیر تنظیمات فعلی در تاریخچه فرمان نمایش داده می شود. گزینه ای را برای خاموش یا روشن کردن آن انتخاب کنید . وقتی تنظیم تنظیمات حالت را تمام کردید ، Enter را فشار دهید . متغیر سیستم AFLAGS تنظیمات حالت فعلی را ذخیره می کند و می تواند برای تنظیم حالت های پیش فرض استفاده شود.

نامرئی

مشخص می کند که مقادیر مشخصه هنگام وارد کردن بلوک نمایش داده می شوند. ATTDISP نادیده گرفتن حالت نامرئی است.

مقدار ثابت

مقدار مشخصی را برای درج بلوک نسبت می دهد.

تأیید کنید

تأیید می کند که هنگام وارد کردن بلوک ، مقدار صحیح صحیح است.

از پیش تعیین شده

با وارد کردن یک بلوک حاوی یک ویژگی از پیش تعیین شده ، ویژگی را به مقدار پیش فرض آن تنظیم می کنید .

موقعیت قفل

محل مشخصه را در مرجع بلوک قفل می کند. با باز کردن قفل ، این ویژگی را می توان با استفاده از ویرایش گرفتن ، نسبت به بقیه بلوک جابجا کرد و ویژگی های چند خطی را تغییر اندازه داد.

توجه: در یک بلوک پویا ، موقعیت یک ویژگی باید قفل شود تا در مجموعه انتخاب یک عملکرد گنجانده شود .
حاشیه نویسی

مشخص می کند که این ویژگی حاشیه نویسی است.

چندین خط

مشخص می کند که مقدار ویژگی می تواند شامل چندین خط متن باشد. وقتی این گزینه انتخاب شد ، می توانید برای مرز صفت مرز مشخص کنید.

نام برچسب ویژگی

برچسب ویژگی را مشخص می کند ، که هر یک از ویژگی های یک نقاشی را مشخص می کند. این برچسب می تواند حاوی شخصیت های دیگری به جز فضا یا علامت تعجب باشد (!). حروف کوچک به طور خودکار به حروف بزرگ تغییر می یابد.

توجه: حتماً اطمینان حاصل کنید که برچسبهای مشخصه دارای نامهای منحصر به فرد هستند. ویرایشگر ویژگی پیشرفته ، هر برچسب تکراری را به رنگ قرمز نمایش می دهد. برچسب های تکراری هنگام استخراج داده یا در صورت استفاده از آنها در بلوک های پویا ، مشکلاتی ایجاد می کنند.

اعلان ویژگی

اعلان نمایش داده شده هنگام وارد کردن یک بلوک حاوی این تعریف ویژگی را مشخص می کند. اگر Enter را فشار دهید ، از تگ ویژگی به عنوان اعلان استفاده می شود. اگر حالت ثابت را روشن کنید ، این اعلان نمایش داده نمی شود.

توجه: برای ویژگی های تک خط ، می توانید حداکثر 256 نویسه را وارد کنید. اگر به مقدار خبری یا پیش فرض پیشرو نیاز دارید ، رشته را با یک backslash () شروع کنید. برای اینکه کاراکتر اول به صورت یک backslash تبدیل شود ، رشته را با دو ضربه پشتی شروع کنید.

مقدار ویژگی پیش فرض

مقدار ویژگی پیش فرض را مشخص می کند. مقدار ویژگی پیش فرض وقتی یک بلوک در نقشه شما وارد می شود ، ظاهر می شود . مقدار پیش فرض لازم نیست. اگر حالت ثابت را روشن کنید ، به جای آن ، گزینه Attribute Value نمایش داده می شود.

هنگامی که حالت Multiple Line خاموش است ، -ATTDEF همانند دستور TEXT همان گزینه ها را نشان می دهد ، به جای درخواست یک متن ، از برچسب ویژگی استفاده می کند.

مشخص کردن متن کاغذ قد ارتفاع فقط در صورت حاشیه نویسی سبک متن نمایش داده می شود .

توجه: برای ویژگی های تک خط ، می توانید حداکثر 256 نویسه را وارد کنید. اگر به مقدار خبری یا پیش فرض پیشرو نیاز دارید ، رشته را با یک backslash () شروع کنید. برای اینکه کاراکتر اول به صورت یک backslash تبدیل شود ، رشته را با دو بک لایت شروع کنید.

هنگامی که حالت Multiple Line روشن است ، -ATTDEF سپس چندین علامت از دستور MTEXT را نشان می دهد .

مقدار ویژگی (حالت ثابت)

مقدار یک ویژگی ثابت را مشخص می کند. این گزینه فقط در صورت روشن کردن حالت ثابت نمایش داده می شود.

-ATTDEF سپس همان علامت دستور TEXT را نشان می دهد ، به جای درخواست یک رشته متن ، از برچسب ویژگی استفاده می کند .

هنگامی که حالت Multiple Line روشن است ، -ATTDEF سپس چندین علامت از دستور MTEXT را نشان می دهد .

موقعیت صفت چند خطی (حالت چند خط)

گوشه اول کادر اتصال را برای متن چند خط مشخص می کند. از این مکان به عنوان نقطه شروع ویژگی استفاده می شود.

گوشه روبرو (حالت چند خط)

همانطور که برای مشخص کردن گوشه مقابل ، دستگاه نشانگر را می کشید ، مستطیل نمایش داده می شود تا مکان و عرض متن چند خط را نشان دهد. فلش درون مستطیل جهت گردش جریان متن را نشان می دهد.

-ATTDEF (Command)

At the Command prompt, creates an attribute definition for storing data in a block.

An attribute is an object that is created and included with a block definition. Attributes
can store data such as part numbers, product names, and so on.

The following prompts are displayed.

Attribute Modes

The values for the current settings are displayed in the command history. Select an
option to toggle it off or on. Press Enter when you have finished adjusting the mode
settings. The AFLAGS system variable stores the current mode settings and can be used
to set the default modes.

Invisible

Specifies that attribute values are displayed when you insert the block. ATTDISP overrides
Invisible mode.

Constant

Gives attributes a fixed value for block insertions.

Verify

Prompts for verification that the attribute value is correct when you insert the block.

Preset

Sets the attribute to its default value when you insert a block containing a preset
attribute.

Lock position

Locks the location of the attribute within the block reference. When unlocked, the
attribute can be moved relative to the rest of the block using grip editing, and multiline
attributes can be resized.

NOTE: In a dynamic block, an attribute’s position must be locked for it to be included
in an action’s selection set.
Annotative

Specifies that the attribute is annotative.

Multiple lines

Specifies that the attribute value can contain multiple lines of text. When this option
is selected, you can specify a boundary width for the attribute.

Attribute tag name

Specifies the attribute tag, which identifies each occurrence of an attribute in the
drawing. The tag can contain any characters except spaces or exclamation marks (!).
Lowercase letters are automatically changed to uppercase.

NOTE:It is important to make sure that attribute tags have unique names. The Enhanced Attribute
Editor will display any duplicate tags in red. Duplicate tags will cause problems
when extracting data or if you use them in dynamic blocks.

Attribute prompt

Specifies the prompt that is displayed when you insert a block containing this attribute
definition. If you press Enter, the attribute tag is used as the prompt. If you turn
on Constant mode, this prompt is not displayed.

NOTE: For single-line attributes, you can enter up to 256 characters. If you need leading
blanks in the prompt or the default value, start the string with a backslash (). To
make the first character a backslash, start the string with two backslashes.

Default attribute value

Specifies the default attribute value. The default attribute value appears when a
block is inserted into your drawing. A default value is not required. If you turn
on Constant mode, the Attribute Value prompt is displayed instead.

When Multiple Line mode is off, -ATTDEF then displays the same prompts as the TEXT
command, using the attribute tag instead of requesting a text string.

The Specify Paper Text Height prompt is displayed only if the current text style is
annotative.

NOTE: For single-line attributes, you can enter up to 256 characters. If you need leading
blanks in the prompt or the default value, start the string with a backslash ().
To make the first character a backslash, start the string with two backslashes.

When Multiple Line mode is on, -ATTDEF then displays several of the prompts used by
the MTEXT command.

Attribute value (Constant mode)

Specifies the value for a constant attribute. This prompt is displayed only if you
turn on Constant mode.

-ATTDEF then displays the same prompts as the TEXT command, using the attribute tag
instead of requesting a text string.

When Multiple Line mode is on, -ATTDEF then displays several of the prompts used by
the MTEXT command.

Location of multiline attribute (Multiple Line mode)

Specifies the first corner of the bounding box for the multiple-line text. This location
is used as the starting point for the attribute.

Opposite corner (Multiple Line mode)

As you drag the pointing device to specify the opposite corner, a rectangle is displayed
to show the location and width of the multiple-line text. The arrow within the rectangle
indicates the direction of the text flow.

Learning AutoCad

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *