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 a new Function. |
|
Create a new Class. |
|
Create a new Behavior. |
|
Create a new Comment. |
|
Create a new Connector. |
|
Create a new Element. |
|
Create a new Association. |
|
Create a new Classifier. |
|
Create a new DataType. |
|
Create a new Expression. |
|
Create a new Feature. |
|
Create a new Annotation. |
|
Create a new Import. |
|
Create a new Structure. |
|
Create a new ItemFeature. |
|
Create a new Dependency. |
|
Create a new Interaction. |
|
Create a new Redefinition. |
|
Create a new StateUsage. |
|
Create a new LifeClass. |
|
Create a new Metaclass. |
|
Create a new PortUsage. |
|
Create a new Namespace. |
|
Create a new Step. |
|
Create a new Succession. |
|
Create a new Definition. |
|
Create a new ConcernUsage. |
|
Create a new ItemFlow. |
|
Create a new Predicate. |
|
Create a new PartUsage. |
|
Create a new Package. |
|
Create a new MergeNode. |
|
Create a new LiteralReal. |
|
Create a new ForkNode. |
|
Create a new ViewUsage. |
|
Create a new CaseUsage. |
|
Create a new Multiplicity. |
|
Create a new DecisionNode. |
|
Create a new ItemUsage. |
|
Create a new Subsetting. |
|
Create a new Usage. |
|
Create a new UseCaseUsage. |
|
Create a new FeatureValue. |
|
Create a new ActionUsage. |
|
Create a new Membership. |
|
Create a new Type. |
|
Create a new Invariant. |
|
Create a new Relationship. |
|
Create a new ItemFlowEnd. |
|
Create a new JoinNode. |
|
Create a new AttributeDefinition. |
|
Create a new AcceptActionUsage. |
|
Create a new Documentation. |
|
Create a new AssignmentActionUsage. |
|
Create a new ItemDefinition. |
|
Create a new LiteralBoolean. |
|
Create a new BindingConnectorAsUsage. |
|
Create a new ConstraintUsage. |
|
Create a new LiteralExpression. |
|
Create a new ParameterMembership. |
|
Create a new AssociationStructure. |
|
Create a new ReferenceSubsetting. |
|
Create a new InterfaceUsage. |
|
Create a new BindingConnector. |
|
Create a new FeatureChaining. |
|
Create a new LiteralInteger. |
|
Create a new InvocationExpression. |
|
Create a new PerformActionUsage. |
|
Create a new PortioningFeature. |
|
Create a new FeatureChainExpression. |
|
Create a new ConstraintDefinition. |
|
Create a new LiteralUnbounded. |
|
Create a new CalculationDefinition. |
|
Create a new EndFeatureMembership. |
|
Create a new FeatureMembership. |
|
Create a new RequirementDefinition. |
|
Create a new RequirementUsage. |
|
Create a new ReturnParameterMembership. |
|
Create a new ReferenceUsage. |
|
Create a new PortDefinition. |
|
Create a new ResultExpressionMembership. |
|
Create a new SatisfyRequirementUsage. |
|
Create a new Specialization. |
|
Create a new LiteralRational. |
|
Create a new StakeholderMembership. |
|
Create a new StateDefinition. |
|
Create a new LiteralString. |
|
Create a new AnnotatingElement. |
|
Create a new AttributeUsage. |
|
Create a new BooleanExpression. |
|
Create a new InterfaceDefinition. |
|
Create a new SendActionUsage. |
|
Create a new NullExpression. |
|
Create a new PartDefinition. |
|
Create a new ConnectionDefinition. |
|
Create a new AssertConstraintUsage. |
|
Create a new ConnectionUsage. |
|
Create a new FeatureReferenceExpression. |
|
Create a new ViewDefinition. |
|
Create a new LibraryPackage. |
|
Create a new TextualRepresentation. |
|
Create a new TransitionUsage. |
|
Create a new CaseDefinition. |
|
Create a new AllocationUsage. |
|
Create a new TriggerInvocationExpression. |
|
Create a new TransitionFeatureMembership. |
|
Create a new TypeFeaturing. |
|
Create a new FlowConnectionDefinition. |
|
Create a new VariantMembership. |
|
Create a new ExhibitStateUsage. |
|
Create a new ForLoopActionUsage. |
|
Create a new MetadataFeature. |
|
Create a new ActorMembership. |
|
Create a new ActionDefinition. |
|
Create a new EventOccurrenceUsage. |
|
Create a new OperatorExpression. |
|
Create a new EnumerationUsage. |
|
Create a new OccurrenceUsage. |
|
Create a new FlowConnectionUsage. |
|
Create a new StateSubactionMembership. |
|
Create a new SuccessionAsUsage. |
|
Create a new Subclassification. |
|
Create a new IfActionUsage. |
|
Create a new AllocationDefinition. |
|
Create a new MetadataUsage. |
|
Create a new FeatureTyping. |
|
Create a new ObjectiveMembership. |
|
Create a new SubjectMembership. |
|
Create a new CalculationUsage. |
|
Create a new OccurrenceDefinition. |
|
Create a new MetadataDefinition. |
|
Create a new WhileLoopActionUsage. |
|
Create a new EnumerationDefinition. |
|
Create a new UseCaseDefinition. |
|
Create a new IncludeUseCaseUsage. |
|
Create a new SuccessionItemFlow. |
|
Create a new MultiplicityRange. |
|
Create a new LoopActionUsage. |
|
Create a new RequirementConstraintMembership. |
|
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:
FunctionThe new model element
- Factory.create_class(**kwargs) ansys.sam.sysml2.meta_model.class_.Class#
Create a new Class.
- Returns:
ClassThe new model element
- Factory.create_behavior(**kwargs) ansys.sam.sysml2.meta_model.behavior.Behavior#
Create a new Behavior.
- Returns:
BehaviorThe new model element
- Factory.create_comment(**kwargs) ansys.sam.sysml2.meta_model.comment.Comment#
Create a new Comment.
- Returns:
CommentThe new model element
- Factory.create_connector(**kwargs) ansys.sam.sysml2.meta_model.connector.Connector#
Create a new Connector.
- Returns:
ConnectorThe new model element
- Factory.create_element(**kwargs) ansys.sam.sysml2.meta_model.element.Element#
Create a new Element.
- Returns:
ElementThe new model element
- Factory.create_association(**kwargs) ansys.sam.sysml2.meta_model.association.Association#
Create a new Association.
- Returns:
AssociationThe new model element
- Factory.create_classifier(**kwargs) ansys.sam.sysml2.meta_model.classifier.Classifier#
Create a new Classifier.
- Returns:
ClassifierThe new model element
- Factory.create_data_type(**kwargs) ansys.sam.sysml2.meta_model.data_type.DataType#
Create a new DataType.
- Returns:
DataTypeThe new model element
- Factory.create_expression(**kwargs) ansys.sam.sysml2.meta_model.expression.Expression#
Create a new Expression.
- Returns:
ExpressionThe new model element
- Factory.create_feature(**kwargs) ansys.sam.sysml2.meta_model.feature.Feature#
Create a new Feature.
- Returns:
FeatureThe new model element
- Factory.create_annotation(**kwargs) ansys.sam.sysml2.meta_model.annotation.Annotation#
Create a new Annotation.
- Returns:
AnnotationThe new model element
- Factory.create_import(**kwargs) ansys.sam.sysml2.meta_model.import_.Import#
Create a new Import.
- Returns:
ImportThe new model element
- Factory.create_structure(**kwargs) ansys.sam.sysml2.meta_model.structure.Structure#
Create a new Structure.
- Returns:
StructureThe new model element
- Factory.create_item_feature(**kwargs) ansys.sam.sysml2.meta_model.item_feature.ItemFeature#
Create a new ItemFeature.
- Returns:
ItemFeatureThe new model element
- Factory.create_dependency(**kwargs) ansys.sam.sysml2.meta_model.dependency.Dependency#
Create a new Dependency.
- Returns:
DependencyThe new model element
- Factory.create_interaction(**kwargs) ansys.sam.sysml2.meta_model.interaction.Interaction#
Create a new Interaction.
- Returns:
InteractionThe new model element
- Factory.create_redefinition(**kwargs) ansys.sam.sysml2.meta_model.redefinition.Redefinition#
Create a new Redefinition.
- Returns:
RedefinitionThe new model element
- Factory.create_state_usage(**kwargs) ansys.sam.sysml2.meta_model.state_usage.StateUsage#
Create a new StateUsage.
- Returns:
StateUsageThe new model element
- Factory.create_life_class(**kwargs) ansys.sam.sysml2.meta_model.life_class.LifeClass#
Create a new LifeClass.
- Returns:
LifeClassThe new model element
- Factory.create_metaclass(**kwargs) ansys.sam.sysml2.meta_model.metaclass.Metaclass#
Create a new Metaclass.
- Returns:
MetaclassThe new model element
- Factory.create_port_usage(**kwargs) ansys.sam.sysml2.meta_model.port_usage.PortUsage#
Create a new PortUsage.
- Returns:
PortUsageThe new model element
- Factory.create_namespace(**kwargs) ansys.sam.sysml2.meta_model.namespace.Namespace#
Create a new Namespace.
- Returns:
NamespaceThe new model element
- Factory.create_step(**kwargs) ansys.sam.sysml2.meta_model.step.Step#
Create a new Step.
- Returns:
StepThe new model element
- Factory.create_succession(**kwargs) ansys.sam.sysml2.meta_model.succession.Succession#
Create a new Succession.
- Returns:
SuccessionThe new model element
- Factory.create_definition(**kwargs) ansys.sam.sysml2.meta_model.definition.Definition#
Create a new Definition.
- Returns:
DefinitionThe new model element
- Factory.create_concern_usage(**kwargs) ansys.sam.sysml2.meta_model.concern_usage.ConcernUsage#
Create a new ConcernUsage.
- Returns:
ConcernUsageThe new model element
- Factory.create_item_flow(**kwargs) ansys.sam.sysml2.meta_model.item_flow.ItemFlow#
Create a new ItemFlow.
- Returns:
ItemFlowThe new model element
- Factory.create_predicate(**kwargs) ansys.sam.sysml2.meta_model.predicate.Predicate#
Create a new Predicate.
- Returns:
PredicateThe new model element
- Factory.create_part_usage(**kwargs) ansys.sam.sysml2.meta_model.part_usage.PartUsage#
Create a new PartUsage.
- Returns:
PartUsageThe new model element
- Factory.create_package(**kwargs) ansys.sam.sysml2.meta_model.package.Package#
Create a new Package.
- Returns:
PackageThe new model element
- Factory.create_merge_node(**kwargs) ansys.sam.sysml2.meta_model.merge_node.MergeNode#
Create a new MergeNode.
- Returns:
MergeNodeThe new model element
- Factory.create_literal_real(**kwargs) ansys.sam.sysml2.meta_model.literal_real.LiteralReal#
Create a new LiteralReal.
- Returns:
LiteralRealThe new model element
- Factory.create_fork_node(**kwargs) ansys.sam.sysml2.meta_model.fork_node.ForkNode#
Create a new ForkNode.
- Returns:
ForkNodeThe new model element
- Factory.create_view_usage(**kwargs) ansys.sam.sysml2.meta_model.view_usage.ViewUsage#
Create a new ViewUsage.
- Returns:
ViewUsageThe new model element
- Factory.create_case_usage(**kwargs) ansys.sam.sysml2.meta_model.case_usage.CaseUsage#
Create a new CaseUsage.
- Returns:
CaseUsageThe new model element
- Factory.create_multiplicity(**kwargs) ansys.sam.sysml2.meta_model.multiplicity.Multiplicity#
Create a new Multiplicity.
- Returns:
MultiplicityThe new model element
- Factory.create_decision_node(**kwargs) ansys.sam.sysml2.meta_model.decision_node.DecisionNode#
Create a new DecisionNode.
- Returns:
DecisionNodeThe new model element
- Factory.create_item_usage(**kwargs) ansys.sam.sysml2.meta_model.item_usage.ItemUsage#
Create a new ItemUsage.
- Returns:
ItemUsageThe new model element
- Factory.create_subsetting(**kwargs) ansys.sam.sysml2.meta_model.subsetting.Subsetting#
Create a new Subsetting.
- Returns:
SubsettingThe new model element
- Factory.create_usage(**kwargs) ansys.sam.sysml2.meta_model.usage.Usage#
Create a new Usage.
- Returns:
UsageThe new model element
- Factory.create_use_case_usage(**kwargs) ansys.sam.sysml2.meta_model.use_case_usage.UseCaseUsage#
Create a new UseCaseUsage.
- Returns:
UseCaseUsageThe new model element
- Factory.create_feature_value(**kwargs) ansys.sam.sysml2.meta_model.feature_value.FeatureValue#
Create a new FeatureValue.
- Returns:
FeatureValueThe new model element
- Factory.create_action_usage(**kwargs) ansys.sam.sysml2.meta_model.action_usage.ActionUsage#
Create a new ActionUsage.
- Returns:
ActionUsageThe new model element
- Factory.create_membership(**kwargs) ansys.sam.sysml2.meta_model.membership.Membership#
Create a new Membership.
- Returns:
MembershipThe new model element
- Factory.create_type(**kwargs) ansys.sam.sysml2.meta_model.type_.Type#
Create a new Type.
- Returns:
TypeThe new model element
- Factory.create_invariant(**kwargs) ansys.sam.sysml2.meta_model.invariant.Invariant#
Create a new Invariant.
- Returns:
InvariantThe new model element
- Factory.create_relationship(**kwargs) ansys.sam.sysml2.meta_model.relationship.Relationship#
Create a new Relationship.
- Returns:
RelationshipThe new model element
- Factory.create_item_flow_end(**kwargs) ansys.sam.sysml2.meta_model.item_flow_end.ItemFlowEnd#
Create a new ItemFlowEnd.
- Returns:
ItemFlowEndThe new model element
- Factory.create_join_node(**kwargs) ansys.sam.sysml2.meta_model.join_node.JoinNode#
Create a new JoinNode.
- Returns:
JoinNodeThe new model element
- Factory.create_attribute_definition(**kwargs) ansys.sam.sysml2.meta_model.attribute_definition.AttributeDefinition#
Create a new AttributeDefinition.
- Returns:
AttributeDefinitionThe new model element
- Factory.create_accept_action_usage(**kwargs) ansys.sam.sysml2.meta_model.accept_action_usage.AcceptActionUsage#
Create a new AcceptActionUsage.
- Returns:
AcceptActionUsageThe new model element
- Factory.create_documentation(**kwargs) ansys.sam.sysml2.meta_model.documentation.Documentation#
Create a new Documentation.
- Returns:
DocumentationThe new model element
- Factory.create_assignment_action_usage(**kwargs) ansys.sam.sysml2.meta_model.assignment_action_usage.AssignmentActionUsage#
Create a new AssignmentActionUsage.
- Returns:
AssignmentActionUsageThe new model element
- Factory.create_item_definition(**kwargs) ansys.sam.sysml2.meta_model.item_definition.ItemDefinition#
Create a new ItemDefinition.
- Returns:
ItemDefinitionThe new model element
- Factory.create_literal_boolean(**kwargs) ansys.sam.sysml2.meta_model.literal_boolean.LiteralBoolean#
Create a new LiteralBoolean.
- Returns:
LiteralBooleanThe 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:
BindingConnectorAsUsageThe new model element
- Factory.create_constraint_usage(**kwargs) ansys.sam.sysml2.meta_model.constraint_usage.ConstraintUsage#
Create a new ConstraintUsage.
- Returns:
ConstraintUsageThe new model element
- Factory.create_literal_expression(**kwargs) ansys.sam.sysml2.meta_model.literal_expression.LiteralExpression#
Create a new LiteralExpression.
- Returns:
LiteralExpressionThe new model element
- Factory.create_parameter_membership(**kwargs) ansys.sam.sysml2.meta_model.parameter_membership.ParameterMembership#
Create a new ParameterMembership.
- Returns:
ParameterMembershipThe new model element
- Factory.create_association_structure(**kwargs) ansys.sam.sysml2.meta_model.association_structure.AssociationStructure#
Create a new AssociationStructure.
- Returns:
AssociationStructureThe new model element
- Factory.create_reference_subsetting(**kwargs) ansys.sam.sysml2.meta_model.reference_subsetting.ReferenceSubsetting#
Create a new ReferenceSubsetting.
- Returns:
ReferenceSubsettingThe new model element
- Factory.create_interface_usage(**kwargs) ansys.sam.sysml2.meta_model.interface_usage.InterfaceUsage#
Create a new InterfaceUsage.
- Returns:
InterfaceUsageThe new model element
- Factory.create_binding_connector(**kwargs) ansys.sam.sysml2.meta_model.binding_connector.BindingConnector#
Create a new BindingConnector.
- Returns:
BindingConnectorThe new model element
- Factory.create_feature_chaining(**kwargs) ansys.sam.sysml2.meta_model.feature_chaining.FeatureChaining#
Create a new FeatureChaining.
- Returns:
FeatureChainingThe new model element
- Factory.create_literal_integer(**kwargs) ansys.sam.sysml2.meta_model.literal_integer.LiteralInteger#
Create a new LiteralInteger.
- Returns:
LiteralIntegerThe new model element
- Factory.create_invocation_expression(**kwargs) ansys.sam.sysml2.meta_model.invocation_expression.InvocationExpression#
Create a new InvocationExpression.
- Returns:
InvocationExpressionThe new model element
- Factory.create_perform_action_usage(**kwargs) ansys.sam.sysml2.meta_model.perform_action_usage.PerformActionUsage#
Create a new PerformActionUsage.
- Returns:
PerformActionUsageThe new model element
- Factory.create_portioning_feature(**kwargs) ansys.sam.sysml2.meta_model.portioning_feature.PortioningFeature#
Create a new PortioningFeature.
- Returns:
PortioningFeatureThe new model element
- Factory.create_feature_chain_expression(**kwargs) ansys.sam.sysml2.meta_model.feature_chain_expression.FeatureChainExpression#
Create a new FeatureChainExpression.
- Returns:
FeatureChainExpressionThe new model element
- Factory.create_constraint_definition(**kwargs) ansys.sam.sysml2.meta_model.constraint_definition.ConstraintDefinition#
Create a new ConstraintDefinition.
- Returns:
ConstraintDefinitionThe new model element
- Factory.create_literal_unbounded(**kwargs) ansys.sam.sysml2.meta_model.literal_unbounded.LiteralUnbounded#
Create a new LiteralUnbounded.
- Returns:
LiteralUnboundedThe new model element
- Factory.create_calculation_definition(**kwargs) ansys.sam.sysml2.meta_model.calculation_definition.CalculationDefinition#
Create a new CalculationDefinition.
- Returns:
CalculationDefinitionThe new model element
- Factory.create_end_feature_membership(**kwargs) ansys.sam.sysml2.meta_model.end_feature_membership.EndFeatureMembership#
Create a new EndFeatureMembership.
- Returns:
EndFeatureMembershipThe new model element
- Factory.create_feature_membership(**kwargs) ansys.sam.sysml2.meta_model.feature_membership.FeatureMembership#
Create a new FeatureMembership.
- Returns:
FeatureMembershipThe new model element
- Factory.create_requirement_definition(**kwargs) ansys.sam.sysml2.meta_model.requirement_definition.RequirementDefinition#
Create a new RequirementDefinition.
- Returns:
RequirementDefinitionThe new model element
- Factory.create_requirement_usage(**kwargs) ansys.sam.sysml2.meta_model.requirement_usage.RequirementUsage#
Create a new RequirementUsage.
- Returns:
RequirementUsageThe new model element
- Factory.create_return_parameter_membership(**kwargs) ansys.sam.sysml2.meta_model.return_parameter_membership.ReturnParameterMembership#
Create a new ReturnParameterMembership.
- Returns:
ReturnParameterMembershipThe new model element
- Factory.create_reference_usage(**kwargs) ansys.sam.sysml2.meta_model.reference_usage.ReferenceUsage#
Create a new ReferenceUsage.
- Returns:
ReferenceUsageThe new model element
- Factory.create_port_definition(**kwargs) ansys.sam.sysml2.meta_model.port_definition.PortDefinition#
Create a new PortDefinition.
- Returns:
PortDefinitionThe new model element
- Factory.create_result_expression_membership(**kwargs) ansys.sam.sysml2.meta_model.result_expression_membership.ResultExpressionMembership#
Create a new ResultExpressionMembership.
- Returns:
ResultExpressionMembershipThe new model element
- Factory.create_satisfy_requirement_usage(**kwargs) ansys.sam.sysml2.meta_model.satisfy_requirement_usage.SatisfyRequirementUsage#
Create a new SatisfyRequirementUsage.
- Returns:
SatisfyRequirementUsageThe new model element
- Factory.create_specialization(**kwargs) ansys.sam.sysml2.meta_model.specialization.Specialization#
Create a new Specialization.
- Returns:
SpecializationThe new model element
- Factory.create_literal_rational(**kwargs) ansys.sam.sysml2.meta_model.literal_rational.LiteralRational#
Create a new LiteralRational.
- Returns:
LiteralRationalThe new model element
- Factory.create_stakeholder_membership(**kwargs) ansys.sam.sysml2.meta_model.stakeholder_membership.StakeholderMembership#
Create a new StakeholderMembership.
- Returns:
StakeholderMembershipThe new model element
- Factory.create_state_definition(**kwargs) ansys.sam.sysml2.meta_model.state_definition.StateDefinition#
Create a new StateDefinition.
- Returns:
StateDefinitionThe new model element
- Factory.create_literal_string(**kwargs) ansys.sam.sysml2.meta_model.literal_string.LiteralString#
Create a new LiteralString.
- Returns:
LiteralStringThe new model element
- Factory.create_annotating_element(**kwargs) ansys.sam.sysml2.meta_model.annotating_element.AnnotatingElement#
Create a new AnnotatingElement.
- Returns:
AnnotatingElementThe new model element
- Factory.create_attribute_usage(**kwargs) ansys.sam.sysml2.meta_model.attribute_usage.AttributeUsage#
Create a new AttributeUsage.
- Returns:
AttributeUsageThe new model element
- Factory.create_boolean_expression(**kwargs) ansys.sam.sysml2.meta_model.boolean_expression.BooleanExpression#
Create a new BooleanExpression.
- Returns:
BooleanExpressionThe new model element
- Factory.create_interface_definition(**kwargs) ansys.sam.sysml2.meta_model.interface_definition.InterfaceDefinition#
Create a new InterfaceDefinition.
- Returns:
InterfaceDefinitionThe new model element
- Factory.create_send_action_usage(**kwargs) ansys.sam.sysml2.meta_model.send_action_usage.SendActionUsage#
Create a new SendActionUsage.
- Returns:
SendActionUsageThe new model element
- Factory.create_null_expression(**kwargs) ansys.sam.sysml2.meta_model.null_expression.NullExpression#
Create a new NullExpression.
- Returns:
NullExpressionThe new model element
- Factory.create_part_definition(**kwargs) ansys.sam.sysml2.meta_model.part_definition.PartDefinition#
Create a new PartDefinition.
- Returns:
PartDefinitionThe new model element
- Factory.create_connection_definition(**kwargs) ansys.sam.sysml2.meta_model.connection_definition.ConnectionDefinition#
Create a new ConnectionDefinition.
- Returns:
ConnectionDefinitionThe new model element
- Factory.create_assert_constraint_usage(**kwargs) ansys.sam.sysml2.meta_model.assert_constraint_usage.AssertConstraintUsage#
Create a new AssertConstraintUsage.
- Returns:
AssertConstraintUsageThe new model element
- Factory.create_connection_usage(**kwargs) ansys.sam.sysml2.meta_model.connection_usage.ConnectionUsage#
Create a new ConnectionUsage.
- Returns:
ConnectionUsageThe new model element
- Factory.create_feature_reference_expression(**kwargs) ansys.sam.sysml2.meta_model.feature_reference_expression.FeatureReferenceExpression#
Create a new FeatureReferenceExpression.
- Returns:
FeatureReferenceExpressionThe new model element
- Factory.create_view_definition(**kwargs) ansys.sam.sysml2.meta_model.view_definition.ViewDefinition#
Create a new ViewDefinition.
- Returns:
ViewDefinitionThe new model element
- Factory.create_library_package(**kwargs) ansys.sam.sysml2.meta_model.library_package.LibraryPackage#
Create a new LibraryPackage.
- Returns:
LibraryPackageThe new model element
- Factory.create_textual_representation(**kwargs) ansys.sam.sysml2.meta_model.textual_representation.TextualRepresentation#
Create a new TextualRepresentation.
- Returns:
TextualRepresentationThe new model element
- Factory.create_transition_usage(**kwargs) ansys.sam.sysml2.meta_model.transition_usage.TransitionUsage#
Create a new TransitionUsage.
- Returns:
TransitionUsageThe new model element
- Factory.create_case_definition(**kwargs) ansys.sam.sysml2.meta_model.case_definition.CaseDefinition#
Create a new CaseDefinition.
- Returns:
CaseDefinitionThe new model element
- Factory.create_allocation_usage(**kwargs) ansys.sam.sysml2.meta_model.allocation_usage.AllocationUsage#
Create a new AllocationUsage.
- Returns:
AllocationUsageThe new model element
- Factory.create_trigger_invocation_expression(**kwargs) ansys.sam.sysml2.meta_model.trigger_invocation_expression.TriggerInvocationExpression#
Create a new TriggerInvocationExpression.
- Returns:
TriggerInvocationExpressionThe new model element
- Factory.create_transition_feature_membership(**kwargs) ansys.sam.sysml2.meta_model.transition_feature_membership.TransitionFeatureMembership#
Create a new TransitionFeatureMembership.
- Returns:
TransitionFeatureMembershipThe new model element
- Factory.create_type_featuring(**kwargs) ansys.sam.sysml2.meta_model.type_featuring.TypeFeaturing#
Create a new TypeFeaturing.
- Returns:
TypeFeaturingThe new model element
- Factory.create_flow_connection_definition(**kwargs) ansys.sam.sysml2.meta_model.flow_connection_definition.FlowConnectionDefinition#
Create a new FlowConnectionDefinition.
- Returns:
FlowConnectionDefinitionThe new model element
- Factory.create_variant_membership(**kwargs) ansys.sam.sysml2.meta_model.variant_membership.VariantMembership#
Create a new VariantMembership.
- Returns:
VariantMembershipThe new model element
- Factory.create_exhibit_state_usage(**kwargs) ansys.sam.sysml2.meta_model.exhibit_state_usage.ExhibitStateUsage#
Create a new ExhibitStateUsage.
- Returns:
ExhibitStateUsageThe 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:
ForLoopActionUsageThe new model element
- Factory.create_metadata_feature(**kwargs) ansys.sam.sysml2.meta_model.metadata_feature.MetadataFeature#
Create a new MetadataFeature.
- Returns:
MetadataFeatureThe new model element
- Factory.create_actor_membership(**kwargs) ansys.sam.sysml2.meta_model.actor_membership.ActorMembership#
Create a new ActorMembership.
- Returns:
ActorMembershipThe new model element
- Factory.create_action_definition(**kwargs) ansys.sam.sysml2.meta_model.action_definition.ActionDefinition#
Create a new ActionDefinition.
- Returns:
ActionDefinitionThe new model element
- Factory.create_event_occurrence_usage(**kwargs) ansys.sam.sysml2.meta_model.event_occurrence_usage.EventOccurrenceUsage#
Create a new EventOccurrenceUsage.
- Returns:
EventOccurrenceUsageThe new model element
- Factory.create_operator_expression(**kwargs) ansys.sam.sysml2.meta_model.operator_expression.OperatorExpression#
Create a new OperatorExpression.
- Returns:
OperatorExpressionThe new model element
- Factory.create_enumeration_usage(**kwargs) ansys.sam.sysml2.meta_model.enumeration_usage.EnumerationUsage#
Create a new EnumerationUsage.
- Returns:
EnumerationUsageThe new model element
- Factory.create_occurrence_usage(**kwargs) ansys.sam.sysml2.meta_model.occurrence_usage.OccurrenceUsage#
Create a new OccurrenceUsage.
- Returns:
OccurrenceUsageThe new model element
- Factory.create_flow_connection_usage(**kwargs) ansys.sam.sysml2.meta_model.flow_connection_usage.FlowConnectionUsage#
Create a new FlowConnectionUsage.
- Returns:
FlowConnectionUsageThe new model element
- Factory.create_state_subaction_membership(**kwargs) ansys.sam.sysml2.meta_model.state_subaction_membership.StateSubactionMembership#
Create a new StateSubactionMembership.
- Returns:
StateSubactionMembershipThe new model element
- Factory.create_succession_as_usage(**kwargs) ansys.sam.sysml2.meta_model.succession_as_usage.SuccessionAsUsage#
Create a new SuccessionAsUsage.
- Returns:
SuccessionAsUsageThe new model element
- Factory.create_subclassification(**kwargs) ansys.sam.sysml2.meta_model.subclassification.Subclassification#
Create a new Subclassification.
- Returns:
SubclassificationThe new model element
- Factory.create_if_action_usage(**kwargs) ansys.sam.sysml2.meta_model.if_action_usage.IfActionUsage#
Create a new IfActionUsage.
- Returns:
IfActionUsageThe new model element
- Factory.create_allocation_definition(**kwargs) ansys.sam.sysml2.meta_model.allocation_definition.AllocationDefinition#
Create a new AllocationDefinition.
- Returns:
AllocationDefinitionThe new model element
- Factory.create_metadata_usage(**kwargs) ansys.sam.sysml2.meta_model.metadata_usage.MetadataUsage#
Create a new MetadataUsage.
- Returns:
MetadataUsageThe new model element
- Factory.create_feature_typing(**kwargs) ansys.sam.sysml2.meta_model.feature_typing.FeatureTyping#
Create a new FeatureTyping.
- Returns:
FeatureTypingThe new model element
- Factory.create_objective_membership(**kwargs) ansys.sam.sysml2.meta_model.objective_membership.ObjectiveMembership#
Create a new ObjectiveMembership.
- Returns:
ObjectiveMembershipThe new model element
- Factory.create_subject_membership(**kwargs) ansys.sam.sysml2.meta_model.subject_membership.SubjectMembership#
Create a new SubjectMembership.
- Returns:
SubjectMembershipThe new model element
- Factory.create_calculation_usage(**kwargs) ansys.sam.sysml2.meta_model.calculation_usage.CalculationUsage#
Create a new CalculationUsage.
- Returns:
CalculationUsageThe new model element
- Factory.create_occurrence_definition(**kwargs) ansys.sam.sysml2.meta_model.occurrence_definition.OccurrenceDefinition#
Create a new OccurrenceDefinition.
- Returns:
OccurrenceDefinitionThe new model element
- Factory.create_metadata_definition(**kwargs) ansys.sam.sysml2.meta_model.metadata_definition.MetadataDefinition#
Create a new MetadataDefinition.
- Returns:
MetadataDefinitionThe 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:
WhileLoopActionUsageThe new model element
- Factory.create_enumeration_definition(**kwargs) ansys.sam.sysml2.meta_model.enumeration_definition.EnumerationDefinition#
Create a new EnumerationDefinition.
- Returns:
EnumerationDefinitionThe new model element
- Factory.create_use_case_definition(**kwargs) ansys.sam.sysml2.meta_model.use_case_definition.UseCaseDefinition#
Create a new UseCaseDefinition.
- Returns:
UseCaseDefinitionThe 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:
IncludeUseCaseUsageThe new model element
- Factory.create_succession_item_flow(**kwargs) ansys.sam.sysml2.meta_model.succession_item_flow.SuccessionItemFlow#
Create a new SuccessionItemFlow.
- Returns:
SuccessionItemFlowThe new model element
- Factory.create_multiplicity_range(**kwargs) ansys.sam.sysml2.meta_model.multiplicity_range.MultiplicityRange#
Create a new MultiplicityRange.
- Returns:
MultiplicityRangeThe new model element
- Factory.create_loop_action_usage(**kwargs) ansys.sam.sysml2.meta_model.loop_action_usage.LoopActionUsage#
Create a new LoopActionUsage.
- Returns:
LoopActionUsageThe new model element
- Factory.create_requirement_constraint_membership(**kwargs) ansys.sam.sysml2.meta_model.requirement_constraint_membership.RequirementConstraintMembership#
Create a new RequirementConstraintMembership.
- Returns:
RequirementConstraintMembershipThe 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:
SuccessionFlowConnectionUsageThe new model element