Usage#

class ansys.sam.sysml2.meta_model.usage.Usage(element_id: str)#

Bases: ansys.sam.sysml2.meta_model.feature.Feature

Java class ‘com.ansys.medini.metamodel.sysml.Usage’.

Overview#

definition

Get the definition property.

variant

Get the variant property.

nested_item

Get the nested item property.

nested_flow

Get the nested flow property.

nested_port

Get the nested port property.

nested_part

Get the nested part property.

nested_attribute

Get the nested attribute property.

nested_interface

Get the nested interface property.

nested_state

Get the nested state property.

nested_metadata

Get the nested metadata property.

nested_case

Get the nested case property.

nested_view

Get the nested view property.

nested_use_case

Get the nested use case property.

nested_reference

Get the nested reference property.

nested_constraint

Get the nested constraint property.

nested_calculation

Get the nested calculation property.

nested_verification_case

Get the nested verification case property.

nested_enumeration

Get the nested enumeration property.

nested_occurrence

Get the nested occurrence property.

nested_requirement

Get the nested requirement property.

nested_allocation

Get the nested allocation property.

nested_connection

Get the nested connection property.

nested_analysis_case

Get the nested analysis case property.

variant_membership

Get the variant membership property.

nested_transition

Get the nested transition property.

is_variation

Get the is variation property.

is_subject

Get the is subject property.

nested_action

Get the nested action property.

nested_usage

Get the nested usage property.

Import detail#

from ansys.sam.sysml2.meta_model.usage import Usage

Property detail#

property Usage.definition: list[Classifier]#

Get the definition property.

Returns:
list[“Classifier”]

Value of property definition.

property Usage.variant: list[Usage]#

Get the variant property.

Returns:
list[“Usage”]

Value of property variant.

property Usage.nested_item: list[ItemUsage]#

Get the nested item property.

Returns:
list[“ItemUsage”]

Value of property nested item.

property Usage.nested_flow: list[FlowConnectionUsage]#

Get the nested flow property.

Returns:
list[“FlowConnectionUsage”]

Value of property nested flow.

property Usage.nested_port: list[PortUsage]#

Get the nested port property.

Returns:
list[“PortUsage”]

Value of property nested port.

property Usage.nested_part: list[PartUsage]#

Get the nested part property.

Returns:
list[“PartUsage”]

Value of property nested part.

property Usage.nested_attribute: list[AttributeUsage]#

Get the nested attribute property.

Returns:
list[“AttributeUsage”]

Value of property nested attribute.

property Usage.nested_interface: list[InterfaceUsage]#

Get the nested interface property.

Returns:
list[“InterfaceUsage”]

Value of property nested interface.

property Usage.nested_state: list[StateUsage]#

Get the nested state property.

Returns:
list[“StateUsage”]

Value of property nested state.

property Usage.nested_metadata: list[MetadataUsage]#

Get the nested metadata property.

Returns:
list[“MetadataUsage”]

Value of property nested metadata.

property Usage.nested_case: list[CaseUsage]#

Get the nested case property.

Returns:
list[“CaseUsage”]

Value of property nested case.

property Usage.nested_view: list[ViewUsage]#

Get the nested view property.

Returns:
list[“ViewUsage”]

Value of property nested view.

property Usage.nested_use_case: list[UseCaseUsage]#

Get the nested use case property.

Returns:
list[“UseCaseUsage”]

Value of property nested use case.

property Usage.nested_reference: list[ReferenceUsage]#

Get the nested reference property.

Returns:
list[“ReferenceUsage”]

Value of property nested reference.

property Usage.nested_constraint: list[ConstraintUsage]#

Get the nested constraint property.

Returns:
list[“ConstraintUsage”]

Value of property nested constraint.

property Usage.nested_calculation: list[CalculationUsage]#

Get the nested calculation property.

Returns:
list[“CalculationUsage”]

Value of property nested calculation.

property Usage.nested_verification_case: list[VerificationCaseUsage]#

Get the nested verification case property.

Returns:
list[“VerificationCaseUsage”]

Value of property nested verification case.

property Usage.nested_enumeration: list[EnumerationUsage]#

Get the nested enumeration property.

Returns:
list[“EnumerationUsage”]

Value of property nested enumeration.

property Usage.nested_occurrence: list[OccurrenceUsage]#

Get the nested occurrence property.

Returns:
list[“OccurrenceUsage”]

Value of property nested occurrence.

property Usage.nested_requirement: list[RequirementUsage]#

Get the nested requirement property.

Returns:
list[“RequirementUsage”]

Value of property nested requirement.

property Usage.nested_allocation: list[AllocationUsage]#

Get the nested allocation property.

Returns:
list[“AllocationUsage”]

Value of property nested allocation.

property Usage.nested_connection: list[ConnectorAsUsage]#

Get the nested connection property.

Returns:
list[“ConnectorAsUsage”]

Value of property nested connection.

property Usage.nested_analysis_case: list[AnalysisCaseUsage]#

Get the nested analysis case property.

Returns:
list[“AnalysisCaseUsage”]

Value of property nested analysis case.

property Usage.variant_membership: list[VariantMembership]#

Get the variant membership property.

Returns:
list[“VariantMembership”]

Value of property variant membership.

property Usage.nested_transition: list[TransitionUsage]#

Get the nested transition property.

Returns:
list[“TransitionUsage”]

Value of property nested transition.

property Usage.is_variation: bool#

Get the is variation property.

Returns:
bool

Value of property is variation.

property Usage.is_subject: bool#

Get the is subject property.

Returns:
bool

Value of property is subject.

property Usage.nested_action: list[ActionUsage]#

Get the nested action property.

Returns:
list[“ActionUsage”]

Value of property nested action.

property Usage.nested_usage: list[Usage]#

Get the nested usage property.

Returns:
list[“Usage”]

Value of property nested usage.