About Customizing Tables
When you create a table, Ansys SAM creates some columns by default. Each column is associated with a SysML feature, such as a name or type.
Note: The content of a table is the content of the package where the table is. This package
is the table root. When you add an element in the table root, it appears in the table.
Deleting an element removes it from the table root and it no longer appears in the
table.
After you have created a table, you can customize it in several ways.
- Use a filter, such as
@PartDefinition
or@Element
, in the Expression text field at the top of the view to change which metatypes are listed in the table. Use the wrench icon (next to the Expression text field) to add and remove SysML v2 features (columns). The wrench menu lists all features that correspond to the metatype you entered in the Expression field.
For example, when you set the Expression field to@PartUsage
, clicking the wrench lists features related to @PartUsage, such as the features listed below:definition
, which is defined in theUsageconcept, from which PartUsage indirectly inherits. It is defined bySysML.Usage.definition.multiplicity
, which is defined in theTypeconcept, from which PartUsage indirectly inherits. It is defined bySysML.Type.multiplicity.visibility
is defined in theElementconcept and is defined bySysML.Element.visibility.ownedMember
is defined in theNameSpaceconcept and defined bySysML.Namespace.ownedMember.
- To remove a column from the table, in the wrench menu, deselect the feature. You can also remove a column by selecting it and clicking the Delete button. Or right-click in the column head and select Delete Column.
- Use the Add to table root button to add additional elements to the table root. These appear in the table's Name column. They are also added to your Structure.
- Delete an element from the table root by selecting that row and clicking the Delete button.
- You can use the Add column button to add custom columns based on your model features. For more information, see Custom Columns in a View.