Smap3D帮助文档

Feature Overrides

创建于 2024-04-14 / 14
字体: [默认] [大] [更大]

Feature Overrides

 

 

Feature overrides editor serves to automatically edit the feature values of the source data as follows.

 

If there is a component of the specified Component Role (can be selected from drop-down) containing Filter Feature with matching Filter Value, the feature specified in the Feature Name column will get New Value.

In case Filter Value is not specified (empty) in the editor, New Value is applied to all components with existing Filter Feature (and specified Component Role).

 

If there are several filter rules valid together the feature gets the name by the one with the highest priority (the highest value).

 Feature names (in Feature name and Filter feature column) are case sensitive!

 

 To set a standard file property, specific CAD property or other feature as Feature Name or Filter Feature it must be typed in special language independent form intelligible to Smap3D Bending Simulation. A list of file properties and features with respective required forms is available here.

 

 Override rules can be set also when adding features or editing feature values (check Add command description for details). If a rule is set that way (with the Change everytime option active in the Multi-Edit form) the rule gets priority of 10.

 

 Higher number in the Priority column means the higher priority.

 

 

Example:

Let us have following record in the Feature Values Override Editor:

 

Priority

Feature name

New value

Filter feature

Filter value

Component role

0

ComponentType

PIPE

PartType

1

PIPE

 

All the pipes with PartType value of 1 will have then set ComponentType to PIPE.

 

 

In addition to direct entering a new value (just a common value - string or number - can be entered) it is also possible to insert a formula using Formula Editor (can be launched by selecting ... ).

Using formulas makes it possible to take over values of another features, set a new value as combination of several features values, multiply a value by a constant or some feature value, etc.

 

In the initial state of the Formula Editor there is a field displayed for entering a value.

Using the plus drop-down it is possible to add further formula term as follows:

 

·   Add feature - Concatenates a value of the selected feature. The feature can be selected from drop-down or entered manually.

·   Add value - Concatenates the entered text.

·   Multiply by feature - The previous term is multiplied by the value of specified (selected from drop-down or manually entered) feature.

·   Multiply by value - The previous term is multiplied by the entered value. Multiplication by value or feature can be usable e.g. for transferring units.

 

Any partial term of a formula can be removed using remove  (except for the case there is only one term).

 When an override rule is applied all the features within a formula are substituted by their values.

 

The Feature Overrides Editor form is composed of two tables.

The top table contains local rules (user specific), the bottom one displays global rules.

 

The global rules are common for all the users using the same Smap3D Plant Design configuration folder (it is also where the BendingGlobalRules.xml file is stored).

While the local rules can be edited in standard way, the global can only be copied from the local section or removed.

To copy a local rule to the global options use Make global from context menu.

 

 

 

 


0 人点赞过