Factory#

class ansys.sam.sysml2.tools.factory.Factory(project: ansys.sam.sysml2.classes.project.Project | ansys.sam.sysml2.classes.scripting_project.ScriptingProject, conn: ansys.sam.sysml2.api.ansys_sysml2_api_connector.AnsysSysML2APIConnector)#

Provides the Python factory class for creating new SysML elements.

Overview#

create_function

Create a new Function.

create_class

Create a new Class.

create_behavior

Create a new Behavior.

create_comment

Create a new Comment.

create_connector

Create a new Connector.

create_element

Create a new Element.

create_association

Create a new Association.

create_classifier

Create a new Classifier.

create_data_type

Create a new DataType.

create_expression

Create a new Expression.

create_feature

Create a new Feature.

create_annotation

Create a new Annotation.

create_import

Create a new Import.

create_structure

Create a new Structure.

create_item_feature

Create a new ItemFeature.

create_dependency

Create a new Dependency.

create_interaction

Create a new Interaction.

create_redefinition

Create a new Redefinition.

create_state_usage

Create a new StateUsage.

create_life_class

Create a new LifeClass.

create_metaclass

Create a new Metaclass.

create_port_usage

Create a new PortUsage.

create_namespace

Create a new Namespace.

create_step

Create a new Step.

create_succession

Create a new Succession.

create_definition

Create a new Definition.

create_concern_usage

Create a new ConcernUsage.

create_item_flow

Create a new ItemFlow.

create_predicate

Create a new Predicate.

create_part_usage

Create a new PartUsage.

create_package

Create a new Package.

create_merge_node

Create a new MergeNode.

create_literal_real

Create a new LiteralReal.

create_fork_node

Create a new ForkNode.

create_view_usage

Create a new ViewUsage.

create_case_usage

Create a new CaseUsage.

create_multiplicity

Create a new Multiplicity.

create_decision_node

Create a new DecisionNode.

create_item_usage

Create a new ItemUsage.

create_subsetting

Create a new Subsetting.

create_usage

Create a new Usage.

create_use_case_usage

Create a new UseCaseUsage.

create_feature_value

Create a new FeatureValue.

create_action_usage

Create a new ActionUsage.

create_membership

Create a new Membership.

create_type

Create a new Type.

create_invariant

Create a new Invariant.

create_relationship

Create a new Relationship.

create_item_flow_end

Create a new ItemFlowEnd.

create_join_node

Create a new JoinNode.

create_attribute_definition

Create a new AttributeDefinition.

create_accept_action_usage

Create a new AcceptActionUsage.

create_documentation

Create a new Documentation.

create_assignment_action_usage

Create a new AssignmentActionUsage.

create_item_definition

Create a new ItemDefinition.

create_literal_boolean

Create a new LiteralBoolean.

create_binding_connector_as_usage

Create a new BindingConnectorAsUsage.

create_constraint_usage

Create a new ConstraintUsage.

create_literal_expression

Create a new LiteralExpression.

create_parameter_membership

Create a new ParameterMembership.

create_association_structure

Create a new AssociationStructure.

create_reference_subsetting

Create a new ReferenceSubsetting.

create_interface_usage

Create a new InterfaceUsage.

create_binding_connector

Create a new BindingConnector.

create_feature_chaining

Create a new FeatureChaining.

create_literal_integer

Create a new LiteralInteger.

create_invocation_expression

Create a new InvocationExpression.

create_perform_action_usage

Create a new PerformActionUsage.

create_portioning_feature

Create a new PortioningFeature.

create_feature_chain_expression

Create a new FeatureChainExpression.

create_constraint_definition

Create a new ConstraintDefinition.

create_literal_unbounded

Create a new LiteralUnbounded.

create_calculation_definition

Create a new CalculationDefinition.

create_end_feature_membership

Create a new EndFeatureMembership.

create_feature_membership

Create a new FeatureMembership.

create_requirement_definition

Create a new RequirementDefinition.

create_requirement_usage

Create a new RequirementUsage.

create_return_parameter_membership

Create a new ReturnParameterMembership.

create_reference_usage

Create a new ReferenceUsage.

create_port_definition

Create a new PortDefinition.

create_result_expression_membership

Create a new ResultExpressionMembership.

create_satisfy_requirement_usage

Create a new SatisfyRequirementUsage.

create_specialization

Create a new Specialization.

create_literal_rational

Create a new LiteralRational.

create_stakeholder_membership

Create a new StakeholderMembership.

create_state_definition

Create a new StateDefinition.

create_literal_string

Create a new LiteralString.

create_annotating_element

Create a new AnnotatingElement.

create_attribute_usage

Create a new AttributeUsage.

create_boolean_expression

Create a new BooleanExpression.

create_interface_definition

Create a new InterfaceDefinition.

create_send_action_usage

Create a new SendActionUsage.

create_null_expression

Create a new NullExpression.

create_part_definition

Create a new PartDefinition.

create_connection_definition

Create a new ConnectionDefinition.

create_assert_constraint_usage

Create a new AssertConstraintUsage.

create_connection_usage

Create a new ConnectionUsage.

create_feature_reference_expression

Create a new FeatureReferenceExpression.

create_view_definition

Create a new ViewDefinition.

create_library_package

Create a new LibraryPackage.

create_textual_representation

Create a new TextualRepresentation.

create_transition_usage

Create a new TransitionUsage.

create_case_definition

Create a new CaseDefinition.

create_allocation_usage

Create a new AllocationUsage.

create_trigger_invocation_expression

Create a new TriggerInvocationExpression.

create_transition_feature_membership

Create a new TransitionFeatureMembership.

create_type_featuring

Create a new TypeFeaturing.

create_flow_connection_definition

Create a new FlowConnectionDefinition.

create_variant_membership

Create a new VariantMembership.

create_exhibit_state_usage

Create a new ExhibitStateUsage.

create_for_loop_action_usage

Create a new ForLoopActionUsage.

create_metadata_feature

Create a new MetadataFeature.

create_actor_membership

Create a new ActorMembership.

create_action_definition

Create a new ActionDefinition.

create_event_occurrence_usage

Create a new EventOccurrenceUsage.

create_operator_expression

Create a new OperatorExpression.

create_enumeration_usage

Create a new EnumerationUsage.

create_occurrence_usage

Create a new OccurrenceUsage.

create_flow_connection_usage

Create a new FlowConnectionUsage.

create_state_subaction_membership

Create a new StateSubactionMembership.

create_succession_as_usage

Create a new SuccessionAsUsage.

create_subclassification

Create a new Subclassification.

create_if_action_usage

Create a new IfActionUsage.

create_allocation_definition

Create a new AllocationDefinition.

create_metadata_usage

Create a new MetadataUsage.

create_feature_typing

Create a new FeatureTyping.

create_objective_membership

Create a new ObjectiveMembership.

create_subject_membership

Create a new SubjectMembership.

create_calculation_usage

Create a new CalculationUsage.

create_occurrence_definition

Create a new OccurrenceDefinition.

create_metadata_definition

Create a new MetadataDefinition.

create_while_loop_action_usage

Create a new WhileLoopActionUsage.

create_enumeration_definition

Create a new EnumerationDefinition.

create_use_case_definition

Create a new UseCaseDefinition.

create_include_use_case_usage

Create a new IncludeUseCaseUsage.

create_succession_item_flow

Create a new SuccessionItemFlow.

create_multiplicity_range

Create a new MultiplicityRange.

create_loop_action_usage

Create a new LoopActionUsage.

create_requirement_constraint_membership

Create a new RequirementConstraintMembership.

create_succession_flow_connection_usage

Create a new SuccessionFlowConnectionUsage.

Import detail#

from ansys.sam.sysml2.tools.factory import Factory

Method detail#

Factory.create_function(**kwargs) ansys.sam.sysml2.meta_model.function.Function#

Create a new Function.

Returns:
Function

The new model element

Factory.create_class(**kwargs) ansys.sam.sysml2.meta_model.class_.Class#

Create a new Class.

Returns:
Class

The new model element

Factory.create_behavior(**kwargs) ansys.sam.sysml2.meta_model.behavior.Behavior#

Create a new Behavior.

Returns:
Behavior

The new model element

Factory.create_comment(**kwargs) ansys.sam.sysml2.meta_model.comment.Comment#

Create a new Comment.

Returns:
Comment

The new model element

Factory.create_connector(**kwargs) ansys.sam.sysml2.meta_model.connector.Connector#

Create a new Connector.

Returns:
Connector

The new model element

Factory.create_element(**kwargs) ansys.sam.sysml2.meta_model.element.Element#

Create a new Element.

Returns:
Element

The new model element

Factory.create_association(**kwargs) ansys.sam.sysml2.meta_model.association.Association#

Create a new Association.

Returns:
Association

The new model element

Factory.create_classifier(**kwargs) ansys.sam.sysml2.meta_model.classifier.Classifier#

Create a new Classifier.

Returns:
Classifier

The new model element

Factory.create_data_type(**kwargs) ansys.sam.sysml2.meta_model.data_type.DataType#

Create a new DataType.

Returns:
DataType

The new model element

Factory.create_expression(**kwargs) ansys.sam.sysml2.meta_model.expression.Expression#

Create a new Expression.

Returns:
Expression

The new model element

Factory.create_feature(**kwargs) ansys.sam.sysml2.meta_model.feature.Feature#

Create a new Feature.

Returns:
Feature

The new model element

Factory.create_annotation(**kwargs) ansys.sam.sysml2.meta_model.annotation.Annotation#

Create a new Annotation.

Returns:
Annotation

The new model element

Factory.create_import(**kwargs) ansys.sam.sysml2.meta_model.import_.Import#

Create a new Import.

Returns:
Import

The new model element

Factory.create_structure(**kwargs) ansys.sam.sysml2.meta_model.structure.Structure#

Create a new Structure.

Returns:
Structure

The new model element

Factory.create_item_feature(**kwargs) ansys.sam.sysml2.meta_model.item_feature.ItemFeature#

Create a new ItemFeature.

Returns:
ItemFeature

The new model element

Factory.create_dependency(**kwargs) ansys.sam.sysml2.meta_model.dependency.Dependency#

Create a new Dependency.

Returns:
Dependency

The new model element

Factory.create_interaction(**kwargs) ansys.sam.sysml2.meta_model.interaction.Interaction#

Create a new Interaction.

Returns:
Interaction

The new model element

Factory.create_redefinition(**kwargs) ansys.sam.sysml2.meta_model.redefinition.Redefinition#

Create a new Redefinition.

Returns:
Redefinition

The new model element

Factory.create_state_usage(**kwargs) ansys.sam.sysml2.meta_model.state_usage.StateUsage#

Create a new StateUsage.

Returns:
StateUsage

The new model element

Factory.create_life_class(**kwargs) ansys.sam.sysml2.meta_model.life_class.LifeClass#

Create a new LifeClass.

Returns:
LifeClass

The new model element

Factory.create_metaclass(**kwargs) ansys.sam.sysml2.meta_model.metaclass.Metaclass#

Create a new Metaclass.

Returns:
Metaclass

The new model element

Factory.create_port_usage(**kwargs) ansys.sam.sysml2.meta_model.port_usage.PortUsage#

Create a new PortUsage.

Returns:
PortUsage

The new model element

Factory.create_namespace(**kwargs) ansys.sam.sysml2.meta_model.namespace.Namespace#

Create a new Namespace.

Returns:
Namespace

The new model element

Factory.create_step(**kwargs) ansys.sam.sysml2.meta_model.step.Step#

Create a new Step.

Returns:
Step

The new model element

Factory.create_succession(**kwargs) ansys.sam.sysml2.meta_model.succession.Succession#

Create a new Succession.

Returns:
Succession

The new model element

Factory.create_definition(**kwargs) ansys.sam.sysml2.meta_model.definition.Definition#

Create a new Definition.

Returns:
Definition

The new model element

Factory.create_concern_usage(**kwargs) ansys.sam.sysml2.meta_model.concern_usage.ConcernUsage#

Create a new ConcernUsage.

Returns:
ConcernUsage

The new model element

Factory.create_item_flow(**kwargs) ansys.sam.sysml2.meta_model.item_flow.ItemFlow#

Create a new ItemFlow.

Returns:
ItemFlow

The new model element

Factory.create_predicate(**kwargs) ansys.sam.sysml2.meta_model.predicate.Predicate#

Create a new Predicate.

Returns:
Predicate

The new model element

Factory.create_part_usage(**kwargs) ansys.sam.sysml2.meta_model.part_usage.PartUsage#

Create a new PartUsage.

Returns:
PartUsage

The new model element

Factory.create_package(**kwargs) ansys.sam.sysml2.meta_model.package.Package#

Create a new Package.

Returns:
Package

The new model element

Factory.create_merge_node(**kwargs) ansys.sam.sysml2.meta_model.merge_node.MergeNode#

Create a new MergeNode.

Returns:
MergeNode

The new model element

Factory.create_literal_real(**kwargs) ansys.sam.sysml2.meta_model.literal_real.LiteralReal#

Create a new LiteralReal.

Returns:
LiteralReal

The new model element

Factory.create_fork_node(**kwargs) ansys.sam.sysml2.meta_model.fork_node.ForkNode#

Create a new ForkNode.

Returns:
ForkNode

The new model element

Factory.create_view_usage(**kwargs) ansys.sam.sysml2.meta_model.view_usage.ViewUsage#

Create a new ViewUsage.

Returns:
ViewUsage

The new model element

Factory.create_case_usage(**kwargs) ansys.sam.sysml2.meta_model.case_usage.CaseUsage#

Create a new CaseUsage.

Returns:
CaseUsage

The new model element

Factory.create_multiplicity(**kwargs) ansys.sam.sysml2.meta_model.multiplicity.Multiplicity#

Create a new Multiplicity.

Returns:
Multiplicity

The new model element

Factory.create_decision_node(**kwargs) ansys.sam.sysml2.meta_model.decision_node.DecisionNode#

Create a new DecisionNode.

Returns:
DecisionNode

The new model element

Factory.create_item_usage(**kwargs) ansys.sam.sysml2.meta_model.item_usage.ItemUsage#

Create a new ItemUsage.

Returns:
ItemUsage

The new model element

Factory.create_subsetting(**kwargs) ansys.sam.sysml2.meta_model.subsetting.Subsetting#

Create a new Subsetting.

Returns:
Subsetting

The new model element

Factory.create_usage(**kwargs) ansys.sam.sysml2.meta_model.usage.Usage#

Create a new Usage.

Returns:
Usage

The new model element

Factory.create_use_case_usage(**kwargs) ansys.sam.sysml2.meta_model.use_case_usage.UseCaseUsage#

Create a new UseCaseUsage.

Returns:
UseCaseUsage

The new model element

Factory.create_feature_value(**kwargs) ansys.sam.sysml2.meta_model.feature_value.FeatureValue#

Create a new FeatureValue.

Returns:
FeatureValue

The new model element

Factory.create_action_usage(**kwargs) ansys.sam.sysml2.meta_model.action_usage.ActionUsage#

Create a new ActionUsage.

Returns:
ActionUsage

The new model element

Factory.create_membership(**kwargs) ansys.sam.sysml2.meta_model.membership.Membership#

Create a new Membership.

Returns:
Membership

The new model element

Factory.create_type(**kwargs) ansys.sam.sysml2.meta_model.type_.Type#

Create a new Type.

Returns:
Type

The new model element

Factory.create_invariant(**kwargs) ansys.sam.sysml2.meta_model.invariant.Invariant#

Create a new Invariant.

Returns:
Invariant

The new model element

Factory.create_relationship(**kwargs) ansys.sam.sysml2.meta_model.relationship.Relationship#

Create a new Relationship.

Returns:
Relationship

The new model element

Factory.create_item_flow_end(**kwargs) ansys.sam.sysml2.meta_model.item_flow_end.ItemFlowEnd#

Create a new ItemFlowEnd.

Returns:
ItemFlowEnd

The new model element

Factory.create_join_node(**kwargs) ansys.sam.sysml2.meta_model.join_node.JoinNode#

Create a new JoinNode.

Returns:
JoinNode

The new model element

Factory.create_attribute_definition(**kwargs) ansys.sam.sysml2.meta_model.attribute_definition.AttributeDefinition#

Create a new AttributeDefinition.

Returns:
AttributeDefinition

The new model element

Factory.create_accept_action_usage(**kwargs) ansys.sam.sysml2.meta_model.accept_action_usage.AcceptActionUsage#

Create a new AcceptActionUsage.

Returns:
AcceptActionUsage

The new model element

Factory.create_documentation(**kwargs) ansys.sam.sysml2.meta_model.documentation.Documentation#

Create a new Documentation.

Returns:
Documentation

The new model element

Factory.create_assignment_action_usage(**kwargs) ansys.sam.sysml2.meta_model.assignment_action_usage.AssignmentActionUsage#

Create a new AssignmentActionUsage.

Returns:
AssignmentActionUsage

The new model element

Factory.create_item_definition(**kwargs) ansys.sam.sysml2.meta_model.item_definition.ItemDefinition#

Create a new ItemDefinition.

Returns:
ItemDefinition

The new model element

Factory.create_literal_boolean(**kwargs) ansys.sam.sysml2.meta_model.literal_boolean.LiteralBoolean#

Create a new LiteralBoolean.

Returns:
LiteralBoolean

The new model element

Factory.create_binding_connector_as_usage(**kwargs) ansys.sam.sysml2.meta_model.binding_connector_as_usage.BindingConnectorAsUsage#

Create a new BindingConnectorAsUsage.

Returns:
BindingConnectorAsUsage

The new model element

Factory.create_constraint_usage(**kwargs) ansys.sam.sysml2.meta_model.constraint_usage.ConstraintUsage#

Create a new ConstraintUsage.

Returns:
ConstraintUsage

The new model element

Factory.create_literal_expression(**kwargs) ansys.sam.sysml2.meta_model.literal_expression.LiteralExpression#

Create a new LiteralExpression.

Returns:
LiteralExpression

The new model element

Factory.create_parameter_membership(**kwargs) ansys.sam.sysml2.meta_model.parameter_membership.ParameterMembership#

Create a new ParameterMembership.

Returns:
ParameterMembership

The new model element

Factory.create_association_structure(**kwargs) ansys.sam.sysml2.meta_model.association_structure.AssociationStructure#

Create a new AssociationStructure.

Returns:
AssociationStructure

The new model element

Factory.create_reference_subsetting(**kwargs) ansys.sam.sysml2.meta_model.reference_subsetting.ReferenceSubsetting#

Create a new ReferenceSubsetting.

Returns:
ReferenceSubsetting

The new model element

Factory.create_interface_usage(**kwargs) ansys.sam.sysml2.meta_model.interface_usage.InterfaceUsage#

Create a new InterfaceUsage.

Returns:
InterfaceUsage

The new model element

Factory.create_binding_connector(**kwargs) ansys.sam.sysml2.meta_model.binding_connector.BindingConnector#

Create a new BindingConnector.

Returns:
BindingConnector

The new model element

Factory.create_feature_chaining(**kwargs) ansys.sam.sysml2.meta_model.feature_chaining.FeatureChaining#

Create a new FeatureChaining.

Returns:
FeatureChaining

The new model element

Factory.create_literal_integer(**kwargs) ansys.sam.sysml2.meta_model.literal_integer.LiteralInteger#

Create a new LiteralInteger.

Returns:
LiteralInteger

The new model element

Factory.create_invocation_expression(**kwargs) ansys.sam.sysml2.meta_model.invocation_expression.InvocationExpression#

Create a new InvocationExpression.

Returns:
InvocationExpression

The new model element

Factory.create_perform_action_usage(**kwargs) ansys.sam.sysml2.meta_model.perform_action_usage.PerformActionUsage#

Create a new PerformActionUsage.

Returns:
PerformActionUsage

The new model element

Factory.create_portioning_feature(**kwargs) ansys.sam.sysml2.meta_model.portioning_feature.PortioningFeature#

Create a new PortioningFeature.

Returns:
PortioningFeature

The new model element

Factory.create_feature_chain_expression(**kwargs) ansys.sam.sysml2.meta_model.feature_chain_expression.FeatureChainExpression#

Create a new FeatureChainExpression.

Returns:
FeatureChainExpression

The new model element

Factory.create_constraint_definition(**kwargs) ansys.sam.sysml2.meta_model.constraint_definition.ConstraintDefinition#

Create a new ConstraintDefinition.

Returns:
ConstraintDefinition

The new model element

Factory.create_literal_unbounded(**kwargs) ansys.sam.sysml2.meta_model.literal_unbounded.LiteralUnbounded#

Create a new LiteralUnbounded.

Returns:
LiteralUnbounded

The new model element

Factory.create_calculation_definition(**kwargs) ansys.sam.sysml2.meta_model.calculation_definition.CalculationDefinition#

Create a new CalculationDefinition.

Returns:
CalculationDefinition

The new model element

Factory.create_end_feature_membership(**kwargs) ansys.sam.sysml2.meta_model.end_feature_membership.EndFeatureMembership#

Create a new EndFeatureMembership.

Returns:
EndFeatureMembership

The new model element

Factory.create_feature_membership(**kwargs) ansys.sam.sysml2.meta_model.feature_membership.FeatureMembership#

Create a new FeatureMembership.

Returns:
FeatureMembership

The new model element

Factory.create_requirement_definition(**kwargs) ansys.sam.sysml2.meta_model.requirement_definition.RequirementDefinition#

Create a new RequirementDefinition.

Returns:
RequirementDefinition

The new model element

Factory.create_requirement_usage(**kwargs) ansys.sam.sysml2.meta_model.requirement_usage.RequirementUsage#

Create a new RequirementUsage.

Returns:
RequirementUsage

The new model element

Factory.create_return_parameter_membership(**kwargs) ansys.sam.sysml2.meta_model.return_parameter_membership.ReturnParameterMembership#

Create a new ReturnParameterMembership.

Returns:
ReturnParameterMembership

The new model element

Factory.create_reference_usage(**kwargs) ansys.sam.sysml2.meta_model.reference_usage.ReferenceUsage#

Create a new ReferenceUsage.

Returns:
ReferenceUsage

The new model element

Factory.create_port_definition(**kwargs) ansys.sam.sysml2.meta_model.port_definition.PortDefinition#

Create a new PortDefinition.

Returns:
PortDefinition

The new model element

Factory.create_result_expression_membership(**kwargs) ansys.sam.sysml2.meta_model.result_expression_membership.ResultExpressionMembership#

Create a new ResultExpressionMembership.

Returns:
ResultExpressionMembership

The new model element

Factory.create_satisfy_requirement_usage(**kwargs) ansys.sam.sysml2.meta_model.satisfy_requirement_usage.SatisfyRequirementUsage#

Create a new SatisfyRequirementUsage.

Returns:
SatisfyRequirementUsage

The new model element

Factory.create_specialization(**kwargs) ansys.sam.sysml2.meta_model.specialization.Specialization#

Create a new Specialization.

Returns:
Specialization

The new model element

Factory.create_literal_rational(**kwargs) ansys.sam.sysml2.meta_model.literal_rational.LiteralRational#

Create a new LiteralRational.

Returns:
LiteralRational

The new model element

Factory.create_stakeholder_membership(**kwargs) ansys.sam.sysml2.meta_model.stakeholder_membership.StakeholderMembership#

Create a new StakeholderMembership.

Returns:
StakeholderMembership

The new model element

Factory.create_state_definition(**kwargs) ansys.sam.sysml2.meta_model.state_definition.StateDefinition#

Create a new StateDefinition.

Returns:
StateDefinition

The new model element

Factory.create_literal_string(**kwargs) ansys.sam.sysml2.meta_model.literal_string.LiteralString#

Create a new LiteralString.

Returns:
LiteralString

The new model element

Factory.create_annotating_element(**kwargs) ansys.sam.sysml2.meta_model.annotating_element.AnnotatingElement#

Create a new AnnotatingElement.

Returns:
AnnotatingElement

The new model element

Factory.create_attribute_usage(**kwargs) ansys.sam.sysml2.meta_model.attribute_usage.AttributeUsage#

Create a new AttributeUsage.

Returns:
AttributeUsage

The new model element

Factory.create_boolean_expression(**kwargs) ansys.sam.sysml2.meta_model.boolean_expression.BooleanExpression#

Create a new BooleanExpression.

Returns:
BooleanExpression

The new model element

Factory.create_interface_definition(**kwargs) ansys.sam.sysml2.meta_model.interface_definition.InterfaceDefinition#

Create a new InterfaceDefinition.

Returns:
InterfaceDefinition

The new model element

Factory.create_send_action_usage(**kwargs) ansys.sam.sysml2.meta_model.send_action_usage.SendActionUsage#

Create a new SendActionUsage.

Returns:
SendActionUsage

The new model element

Factory.create_null_expression(**kwargs) ansys.sam.sysml2.meta_model.null_expression.NullExpression#

Create a new NullExpression.

Returns:
NullExpression

The new model element

Factory.create_part_definition(**kwargs) ansys.sam.sysml2.meta_model.part_definition.PartDefinition#

Create a new PartDefinition.

Returns:
PartDefinition

The new model element

Factory.create_connection_definition(**kwargs) ansys.sam.sysml2.meta_model.connection_definition.ConnectionDefinition#

Create a new ConnectionDefinition.

Returns:
ConnectionDefinition

The new model element

Factory.create_assert_constraint_usage(**kwargs) ansys.sam.sysml2.meta_model.assert_constraint_usage.AssertConstraintUsage#

Create a new AssertConstraintUsage.

Returns:
AssertConstraintUsage

The new model element

Factory.create_connection_usage(**kwargs) ansys.sam.sysml2.meta_model.connection_usage.ConnectionUsage#

Create a new ConnectionUsage.

Returns:
ConnectionUsage

The new model element

Factory.create_feature_reference_expression(**kwargs) ansys.sam.sysml2.meta_model.feature_reference_expression.FeatureReferenceExpression#

Create a new FeatureReferenceExpression.

Returns:
FeatureReferenceExpression

The new model element

Factory.create_view_definition(**kwargs) ansys.sam.sysml2.meta_model.view_definition.ViewDefinition#

Create a new ViewDefinition.

Returns:
ViewDefinition

The new model element

Factory.create_library_package(**kwargs) ansys.sam.sysml2.meta_model.library_package.LibraryPackage#

Create a new LibraryPackage.

Returns:
LibraryPackage

The new model element

Factory.create_textual_representation(**kwargs) ansys.sam.sysml2.meta_model.textual_representation.TextualRepresentation#

Create a new TextualRepresentation.

Returns:
TextualRepresentation

The new model element

Factory.create_transition_usage(**kwargs) ansys.sam.sysml2.meta_model.transition_usage.TransitionUsage#

Create a new TransitionUsage.

Returns:
TransitionUsage

The new model element

Factory.create_case_definition(**kwargs) ansys.sam.sysml2.meta_model.case_definition.CaseDefinition#

Create a new CaseDefinition.

Returns:
CaseDefinition

The new model element

Factory.create_allocation_usage(**kwargs) ansys.sam.sysml2.meta_model.allocation_usage.AllocationUsage#

Create a new AllocationUsage.

Returns:
AllocationUsage

The new model element

Factory.create_trigger_invocation_expression(**kwargs) ansys.sam.sysml2.meta_model.trigger_invocation_expression.TriggerInvocationExpression#

Create a new TriggerInvocationExpression.

Returns:
TriggerInvocationExpression

The new model element

Factory.create_transition_feature_membership(**kwargs) ansys.sam.sysml2.meta_model.transition_feature_membership.TransitionFeatureMembership#

Create a new TransitionFeatureMembership.

Returns:
TransitionFeatureMembership

The new model element

Factory.create_type_featuring(**kwargs) ansys.sam.sysml2.meta_model.type_featuring.TypeFeaturing#

Create a new TypeFeaturing.

Returns:
TypeFeaturing

The new model element

Factory.create_flow_connection_definition(**kwargs) ansys.sam.sysml2.meta_model.flow_connection_definition.FlowConnectionDefinition#

Create a new FlowConnectionDefinition.

Returns:
FlowConnectionDefinition

The new model element

Factory.create_variant_membership(**kwargs) ansys.sam.sysml2.meta_model.variant_membership.VariantMembership#

Create a new VariantMembership.

Returns:
VariantMembership

The new model element

Factory.create_exhibit_state_usage(**kwargs) ansys.sam.sysml2.meta_model.exhibit_state_usage.ExhibitStateUsage#

Create a new ExhibitStateUsage.

Returns:
ExhibitStateUsage

The new model element

Factory.create_for_loop_action_usage(**kwargs) ansys.sam.sysml2.meta_model.for_loop_action_usage.ForLoopActionUsage#

Create a new ForLoopActionUsage.

Returns:
ForLoopActionUsage

The new model element

Factory.create_metadata_feature(**kwargs) ansys.sam.sysml2.meta_model.metadata_feature.MetadataFeature#

Create a new MetadataFeature.

Returns:
MetadataFeature

The new model element

Factory.create_actor_membership(**kwargs) ansys.sam.sysml2.meta_model.actor_membership.ActorMembership#

Create a new ActorMembership.

Returns:
ActorMembership

The new model element

Factory.create_action_definition(**kwargs) ansys.sam.sysml2.meta_model.action_definition.ActionDefinition#

Create a new ActionDefinition.

Returns:
ActionDefinition

The new model element

Factory.create_event_occurrence_usage(**kwargs) ansys.sam.sysml2.meta_model.event_occurrence_usage.EventOccurrenceUsage#

Create a new EventOccurrenceUsage.

Returns:
EventOccurrenceUsage

The new model element

Factory.create_operator_expression(**kwargs) ansys.sam.sysml2.meta_model.operator_expression.OperatorExpression#

Create a new OperatorExpression.

Returns:
OperatorExpression

The new model element

Factory.create_enumeration_usage(**kwargs) ansys.sam.sysml2.meta_model.enumeration_usage.EnumerationUsage#

Create a new EnumerationUsage.

Returns:
EnumerationUsage

The new model element

Factory.create_occurrence_usage(**kwargs) ansys.sam.sysml2.meta_model.occurrence_usage.OccurrenceUsage#

Create a new OccurrenceUsage.

Returns:
OccurrenceUsage

The new model element

Factory.create_flow_connection_usage(**kwargs) ansys.sam.sysml2.meta_model.flow_connection_usage.FlowConnectionUsage#

Create a new FlowConnectionUsage.

Returns:
FlowConnectionUsage

The new model element

Factory.create_state_subaction_membership(**kwargs) ansys.sam.sysml2.meta_model.state_subaction_membership.StateSubactionMembership#

Create a new StateSubactionMembership.

Returns:
StateSubactionMembership

The new model element

Factory.create_succession_as_usage(**kwargs) ansys.sam.sysml2.meta_model.succession_as_usage.SuccessionAsUsage#

Create a new SuccessionAsUsage.

Returns:
SuccessionAsUsage

The new model element

Factory.create_subclassification(**kwargs) ansys.sam.sysml2.meta_model.subclassification.Subclassification#

Create a new Subclassification.

Returns:
Subclassification

The new model element

Factory.create_if_action_usage(**kwargs) ansys.sam.sysml2.meta_model.if_action_usage.IfActionUsage#

Create a new IfActionUsage.

Returns:
IfActionUsage

The new model element

Factory.create_allocation_definition(**kwargs) ansys.sam.sysml2.meta_model.allocation_definition.AllocationDefinition#

Create a new AllocationDefinition.

Returns:
AllocationDefinition

The new model element

Factory.create_metadata_usage(**kwargs) ansys.sam.sysml2.meta_model.metadata_usage.MetadataUsage#

Create a new MetadataUsage.

Returns:
MetadataUsage

The new model element

Factory.create_feature_typing(**kwargs) ansys.sam.sysml2.meta_model.feature_typing.FeatureTyping#

Create a new FeatureTyping.

Returns:
FeatureTyping

The new model element

Factory.create_objective_membership(**kwargs) ansys.sam.sysml2.meta_model.objective_membership.ObjectiveMembership#

Create a new ObjectiveMembership.

Returns:
ObjectiveMembership

The new model element

Factory.create_subject_membership(**kwargs) ansys.sam.sysml2.meta_model.subject_membership.SubjectMembership#

Create a new SubjectMembership.

Returns:
SubjectMembership

The new model element

Factory.create_calculation_usage(**kwargs) ansys.sam.sysml2.meta_model.calculation_usage.CalculationUsage#

Create a new CalculationUsage.

Returns:
CalculationUsage

The new model element

Factory.create_occurrence_definition(**kwargs) ansys.sam.sysml2.meta_model.occurrence_definition.OccurrenceDefinition#

Create a new OccurrenceDefinition.

Returns:
OccurrenceDefinition

The new model element

Factory.create_metadata_definition(**kwargs) ansys.sam.sysml2.meta_model.metadata_definition.MetadataDefinition#

Create a new MetadataDefinition.

Returns:
MetadataDefinition

The new model element

Factory.create_while_loop_action_usage(**kwargs) ansys.sam.sysml2.meta_model.while_loop_action_usage.WhileLoopActionUsage#

Create a new WhileLoopActionUsage.

Returns:
WhileLoopActionUsage

The new model element

Factory.create_enumeration_definition(**kwargs) ansys.sam.sysml2.meta_model.enumeration_definition.EnumerationDefinition#

Create a new EnumerationDefinition.

Returns:
EnumerationDefinition

The new model element

Factory.create_use_case_definition(**kwargs) ansys.sam.sysml2.meta_model.use_case_definition.UseCaseDefinition#

Create a new UseCaseDefinition.

Returns:
UseCaseDefinition

The new model element

Factory.create_include_use_case_usage(**kwargs) ansys.sam.sysml2.meta_model.include_use_case_usage.IncludeUseCaseUsage#

Create a new IncludeUseCaseUsage.

Returns:
IncludeUseCaseUsage

The new model element

Factory.create_succession_item_flow(**kwargs) ansys.sam.sysml2.meta_model.succession_item_flow.SuccessionItemFlow#

Create a new SuccessionItemFlow.

Returns:
SuccessionItemFlow

The new model element

Factory.create_multiplicity_range(**kwargs) ansys.sam.sysml2.meta_model.multiplicity_range.MultiplicityRange#

Create a new MultiplicityRange.

Returns:
MultiplicityRange

The new model element

Factory.create_loop_action_usage(**kwargs) ansys.sam.sysml2.meta_model.loop_action_usage.LoopActionUsage#

Create a new LoopActionUsage.

Returns:
LoopActionUsage

The new model element

Factory.create_requirement_constraint_membership(**kwargs) ansys.sam.sysml2.meta_model.requirement_constraint_membership.RequirementConstraintMembership#

Create a new RequirementConstraintMembership.

Returns:
RequirementConstraintMembership

The new model element

Factory.create_succession_flow_connection_usage(**kwargs) ansys.sam.sysml2.meta_model.succession_flow_connection_usage.SuccessionFlowConnectionUsage#

Create a new SuccessionFlowConnectionUsage.

Returns:
SuccessionFlowConnectionUsage

The new model element