联系我们
联系原厂或当地办公室
The Smart Edit dialog
The Smart Edit dialog offers two different methods for performing powerful and complex string modifications.
From the PCB List or PCBLIB List panel, select the string-type cell entries you want to modify for the required objects, right-click then select Smart Edit from the context menu.
Options/Controls
This tab is used for string substitutions. Click inside the From field and enter the portion of the current string that you want to replace. Then click inside the To field and enter the string to be used as the replacement. The standard string substitution syntax is displayed at the bottom.
For example, consider the designators of three header components that currently have the prefix P and you need to change them to have the prefix HDR instead. In this case, select the Name attribute for each of the components in the appropriate panel to open the dialog. On the Batch Replace tab, enter P in the From field and HDR in the To field (the replacement string at the bottom of the dialog is therefore {P=HDR}
). After clicking OK, the designators will be modified accordingly. The Batch Replace tab also provides for replacement of multiple, differing string portions in the same target string. Enter the various substitutions as distinct From-To entries.
This tab provides for more advanced modification, allowing you to apply a specific expression to the selected string objects. The expression can include any built-in arithmetic operators and functions that apply to strings (found in Pascal). If you want to use the current value for the attribute as part of the expression, you will need to make reference to this original value, either by using the full name of the attribute or by using the exclamation character (the supported substitute for the name of the attribute currently being modified). When using attribute names, if any names contain spaces, these must be replaced by the underscore character. For example, use of the Component Comment field within a formula should be entered as Component_Comment
.
Consider, for example, three selected memory components specified in a design with designators U1, U3 and U5. You might want to extend the designators of these components by including some indication of their role. After loading the required components (or designators) into the appropriate List panel, open the Smart Edit dialog using the techniques described in the Access section above. In the Formula tab, you could write an expression to add to the existing string value of the Name attribute. This would take the existing (original) string value and concatenate it with a specified new string, as illustrated below:
Name + '_MEM'
or, in shortened form:
! + '_MEM'
Note that the spaces are optional. After clicking OK the designators of the components will be updated to U1_MEM, U3_MEM and U5_MEM, respectively.
联系原厂或当地办公室
如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited
如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited
如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited
填写下方表格,获取Altium Designer最新报价。
点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。
如果您是Altium维保期内客户,您不需要下载试用版本。
如果您不是Altium维保客户,请填写下方表格免费试用。
点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。
如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited
那您来对地方了!请填写下方表格申请试用吧。
点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。
Great News!
Valid students can get their very own 6-month Altium Designer Student License for FREE! Just fill out the form below to request your Student License today.
点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。
好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。
请填写下方表格申请。
点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。
如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited
好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。
请填写下方表格申请。
点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。