MDZIP or XMI/XML uploads.
The importer is strongest on MagicDraw/Cameo-style SysML 1.x exports that preserve standard
xmi:id, xmi:type, UML, and SysML metadata.Cheat Sheet
Supported Inputs
You can import SysML 1.x model content from:- raw
.xmlor.xmimodel files .mdziparchives.ziparchives that contain model XML/XMI or embedded.mdzipfiles
Import Flow
When you import a SysML 1.x or UAF model, Davinci follows this flow:- Davinci inspects the file or archive and extracts the model files it can use.
- The XML/XMI parser detects the dialect (
SysML,UAF,BPMN, orTOGAF) and specification version, then builds an intermediate model from elements, profile stereotypes, relationships, activities, interactions, diagrams, and metadata. - The converter maps that intermediate model into Davinci object types, project subclasses, inheritance links, action sequences, and Figure/Matrix diagram artifacts.
- Davinci creates a wrapper package for the import (with
ContainmentandDiagramssubpackages), validates the result, registers any discovered project subclasses, custom relationship types, or units, and inserts the objects into the workspace.
How Archive Imports Work
Archive imports do more than just unzip everything:- If a ZIP contains multiple candidate models, you can choose which ones to import.
- In mixed archives, unselected XML/XMI model files may still be kept as secondary context so cross-file references can resolve.
- MagicDraw bundles are treated as a grouped model, with primary and supporting files handled differently.
- If multiple embedded
.mdzipmodels are imported together, Davinci injects wrapper packages so content from each embedded source stays separated.
How Davinci Reads Your Files
Davinci does more than just read one XML file and convert it directly.Cross-File Prepass
Before Davinci extracts elements, it scans all model files for cross-file timing, event, and annotation context:uml:TimeEventanduml:ChangeEventdefinitions are indexed first so transition triggers can resolve into conditional expressions even when the event lives in a different file.- stereotype metadata, profile generalizations, and metaclass bindings are collected from all files, including profile and shared files
- annotated comment maps and UAF comment rollups are collected across files
- diagram metadata (including table and dependency matrix configurations) is collected from all files, not only the primary model file
Primary And Supporting Files
Only primary model files contribute the main model elements, relationships, activities, and interactions. Supporting or shared files still matter because they can provide:- stereotype definitions and profile generalization chains
- diagram ownership, table configurations, and dependency matrix metadata
- referenced timing and change-event information
- cross-file type/profile context
File Dialects And UAF Support
Davinci inspects the root XML namespaces to detect the model dialect:- SysML 1.x and UAF (Unified Architecture Framework) are first-class supported dialects on this import path.
- BPMN and TOGAF / ArchiMate exports can also be detected and imported on a best-effort basis.
- ReqIF (
.reqif,.reqifz, or XML containing<REQ-IF>) is automatically detected and routed to Davinci’s dedicated ReqIF importer rather than the SysML XMI pipeline.
Unified Architecture Framework (UAF) Support
Davinci includes built-in semantic mapping for UAF 1.2 (along with legacy UPDM/vendor aliases and provisional UAF 2.0 metadata). You can also initialize a project with UAF definitions up front by choosing UAF in the Framework selector when creating a new project.How UAF Elements Map Into Davinci
When Davinci detects a UAF or UPDM model (or when UAF stereotypes are present), it resolves elements against the UAF semantic map:- Base object type + Project Subclass: UAF stereotypes map to the appropriate Davinci base type and assign the canonical UAF concept as the object’s Project Subclass (
subclassId).- Operational and Resource Performers / Architecture:
OperationalPerformer,System,ResourcePerformer,CapabilityConfiguration,Software,Technology,OperationalArchitecture,ResourceArchitecture, andHighLevelOperationalConceptbecomepartwith their UAF subclass. - Organizations, Personnel, and Posts:
Organization,ActualOrganization,Person,ActualPerson,Post,ActualPost,OrganizationalResource, andActualResponsibleResourcebecomeentitywith their UAF subclass. - Capabilities and Strategic Elements:
Capability,EnterpriseGoal,EnterpriseObjective,EnterpriseVision,VisionStatement,Challenge,Driver, andOpportunitybecomecapability. - Activities, Functions, and Responsibilities:
OperationalActivity,StandardOperationalActivity,Function,ServiceFunction,ProjectActivity,Responsibility,ActualResponsibility, andActualEffectbecomeaction. - Interfaces and Ports:
OperationalInterface,ResourceInterface,ServiceInterface,ResourceServiceInterface,OperationalPort, andResourcePortbecomeport, whileResourceServiceandServicebecomeinterface. - Information and Exchanges:
OperationalInformation,ResourceInformation,ConceptItem,Resource,Effect,ActualOutcome, andMeasurableElementbecomeitem(legacy aliases likeOperationalItem,ResourceItem,OperationalExchange, andResourceExchangealso resolve to their canonical UAF concepts). - Measurements:
MeasurementSetbecomespackage(withMeasurementSetsubclass), whileMeasurement,ActualMeasurement,ProjectTheme, andViewpointbecomeattribute. - Projects, Phases, Risks, and Standards:
ActualProject,StrategicPhase,StructuralPart, andTemporalPartbecometask;RiskandActualRiskbecomerisk;Standardbecomesdocument.
- Operational and Resource Performers / Architecture:
- InstanceSpecification support: UAF elements serialized as
uml:InstanceSpecification(such asActualProject,ActualRisk,ActualOrganization, orEnterpriseMission) preserve their semantic UAF base type and subclass instead of being dropped or flattened into generic parts. - Scenario-owned strategic elements: UAF models often nest
EnterpriseGoalorEnterpriseObjectiveclasses inside scenario Activities; Davinci preserves theircapabilitymapping and relationships rather than converting them into message items.
UAF Subclass And Relationship Seeding
When a UAF model is imported:- Davinci seeds the full catalog of UAF concepts into Project Settings → Schema → Project Subclasses, including their UAF semantic definitions, so you can continue authoring UAF-typed objects after import.
- UAF relationship stereotypes (such as
IsCapableToPerform,Implements,Supports,PerformsInContext,Exhibits,MapsToCapability, andOwnsProcess) are mapped deterministically and registered as project relationship types with their endpoint constraints rather than being downgraded to generic SysML relationships.
UAF Comment Rollups
UAF models frequently store metadata on stereotypeduml:Comment elements instead of standard properties. During import, Davinci rolls these comments into the target element and removes the redundant comment nodes:
Alias: Used as a fallback name when the annotated element has no name.Definition,Information, andMetadata: Appended to the target element’sdocumentation.ArchitectureMetadata: Added to the target element’stags.VisionStatement: Materialized as acapabilityobject rather than merged as plain comment text.
What Davinci Creates
Structural Objects, Usages, And Inheritance
Davinci maps these structural objects deterministically:uml:Modelanduml:Packagebecomepackage- most structural
uml:Classand block-like elements becomepart - composite part properties (
PartPropertyoraggregation="composite"with a block type) become childpartusages; if an exported usage is unnamed, Davinci uses its classifier block name - actor/stakeholder/external-role style classes become
entity uml:Classinside a requirements package, or with a requirement stereotype, becomesrequirement
sysml:Requirement nodes. In MagicDraw exports, requirements often come through as plain uml:Class elements, so Davinci uses stereotypes and package context to decide whether to import them as requirements.
Typed Usages And Generalization Become extends
Davinci preserves both UML Generalization and typed usage relationships through Object Inheritance (extends):
- Generalization: When one classifier specializes another via
uml:Generalization, Davinci merges inherited fields/children along the generalization chain and wiresextendsfrom the specialization to the base object. - Typed usages: When a part usage, port usage, or
CallBehaviorActionpoints to a classifier or behavior definition (typeorbehavior), Davinci wires the usage to extend the corresponding base definition. - Usage-specific ports: When a composite part usage is typed by a block that owns ports, Davinci materializes usage-specific
portobjects under the part usage (extending the block’s port definitions) so connectors and internal block diagrams resolve to the exact part instance’s ports.
Stereotypes, Subclasses, And Tags
Stereotypes can influence an imported object in three ways:- Framework Subclass Mapping: When a stereotype matches a known framework concept (such as a UAF 1.2 stereotype), Davinci assigns the canonical Davinci
baseTypeand sets the object’ssubclassIdto that concept. - Profile Stereotype Generalization Chains: When an element uses a custom profile stereotype that generalizes a mapped concept or metaclass, Davinci materializes reusable base definitions under a
Profile Stereotypespackage and links the imported object to them viaextends. - Tags: Stereotypes are also preserved as normalized tags on the imported object for filtering and reference.
- tool-internal stereotypes (such as
MagicDraw_Profile,MD_Customization,Validation_Profile,DiagramProfile, andFree_Form_Elements) and diagram-only legend elements are ignored - generic SysML stereotypes (
Block,ValueProperty,ValueType,PartProperty) and tags that simply duplicate the final Davinci object type are removed
Values, Data Types, Attributes, And Rollups
Davinci treats scalar and structured data definitions differently:- scalar
ValueTypeorDataTypedefinitions are usually treated as attribute/unit-like data, with ISO-80000 and compound unit names normalized into standard symbols (such askg,m/s, orN*m) - structured
DataTypedefinitions with owned named properties (including abstract base or specializing DataTypes connected byGeneralization) are promoted topartso their internal fields survive as children - scalar ValueTypes extracted as units are removed from the imported object set and registered as project units instead
- a scalar ValueType may not appear as a standalone object after import
- a structured DataType may survive as a container-like object with children
- properties under structural elements usually become
attribute(unless they are composite part usages, which becomepart) - properties under behavior contexts can become
item - properties under constraint blocks are treated as equation parameters and become
attribute - untyped
ConstraintPropertyelements and self-typedisDerivedUnioncollection properties are skipped - MagicDraw internal structured-expression XML blobs on constraints are cleared rather than imported as raw XML strings
Rollup Pattern Detection
When a model uses the standard SysML rollup pattern (a pattern block with a self-typedisDerivedUnion collection property, a non-derived input ValueProperty such as mass, and a derived total ValueProperty such as totalMass), Davinci automatically detects the pattern across specializing blocks and wires sum equations on each participant’s total attribute ([own_input] + [child1_total] + ...), tagging the computed attribute with isDerived and rollup:sum.
Interfaces, Flows, And Items
Davinci does not treat every SysML flow concept as an interface. Here are the most important deterministic mappings:uml:InformationFlowbecomesinterfaceFlowSpecification,ItemFlow, andFlowPropertystereotypes becomeitemuml:Signalanduml:InformationItembecomeitem- object nodes, central buffers, data stores, and activity parameter nodes also become
item
Activities, Interactions, And Behavior
Davinci splits behavior across several object types instead of collapsing everything into one generic type.uml:Activity,uml:Interaction,uml:OpaqueBehavior, anduml:FunctionBehaviorbecomeaction- child action nodes inside activities are also forced to
action - nested message or signal classifier content discovered inside activities can become
item uml:UseCasebecomescapability, notaction
How Action Hierarchy Gets Built
When you import behavior, Davinci first creates the action objects themselves and then builds the parent/child step structure underneath them. What this means for you:- an imported activity can become an action with nested child actions
- step-like nodes found inside the activity can show up as child actions under that parent
- the final parent/child structure may still be adjusted during import if Davinci finds a more useful hierarchy
How Sequences Are Generated
Davinci generates an action’s sequence code after the main imported objects already exist. By that point, the importer usually knows:- which Davinci action object corresponds to each SysML activity or interaction
- which child actions belong under that behavior
- which related parts, ports, entities, and items are available as references
- which interaction, if any, should be treated as the matching message view of the same behavior
What Davinci Writes Into The Action
Davinci does not keep raw SysML activity syntax or sequence-diagram syntax. Instead, it writes Davinci action sequence code into the imported action’ssequence field.
The conversion generally works like this:
- structural behavior content becomes imported
actionobjects - the importer resolves child actions, related structural objects, and relevant data items
- activity flows and interaction messages are converted into Davinci sequence statements
- the resulting sequence code is written onto the imported action object’s
sequence
What You May See In Imported Sequence Code
Depending on the source behavior, the generated sequence may include:- direct action-step calls for child actions
flow(...)statements derived from SysML object flows, pins, and buffer-style data nodesfork([...])style parallel execution when the source behavior clearly branches in parallel- a final
end()to terminate the imported action sequence cleanly
flow(...) statements from object flows, pins, and intermediate buffer nodes so the imported sequence shows not only step order but also what data or items move between steps.
Activities And Interactions Are Often Merged
Davinci tries to combine multiple SysML views of the same behavior when it has enough evidence that they belong together. For example:- an activity can supply the action-step structure
- a matching interaction can supply the message/lifeline ordering
- standalone interactions with useful message content can still become action sequences on their own
Important Limits
This sequence generation is intentionally translation-oriented rather than round-trip-preserving:- imported sequence code is a Davinci interpretation of the SysML behavior
- lifelines, pins, buffers, and message flows are resolved into Davinci object references where possible
- actions with no meaningful sub-content may end up with little or no sequence body
- imported sequences can still need review or cleanup after import
State Machines And Transitions
Davinci handles state-machine content separately from activity and interaction conversion:uml:StateMachine,uml:ProtocolStateMachine,uml:State,uml:FinalState, anduml:Pseudostatebecomestateuml:Transitionbecomestransition- transition
conditionalexpressions are assembled fromuml:TimeEventtriggers (mod(t, ...)),uml:ChangeEventexpressions, and transition guards resolved across all model files - transition-owned guard
uml:Constraintelements are folded into the transition’sconditionalexpression rather than imported as separate child constraint objects - state
entry,doActivity, andexitbehaviors are resolved onto the state’sentry,do, andexitfields
Constraints And Parametrics
Davinci also maps constraints deterministically:ConstraintBlockstereotype becomesconstraintuml:Constraintbecomesconstraint(except transition guard constraints, which are folded into the parent transition)ConstraintParameterelements becomeattribute- typed
ConstraintPropertyelements becomeattribute - untyped
ConstraintPropertyelements are skipped
Comments And Notes
Davinci does not treat all comments the same way:- annotated comments are usually merged into the
documentationof the objects they describe - UAF stereotyped comments (
Alias,Definition,Information,Metadata,ArchitectureMetadata, andVisionStatement) follow the UAF Comment Rollups rules above - rich HTML/table comments attached directly to a class without an
annotatedElement(such as title blocks or revision history tables) are absorbed into the parent class’sdocumentation - other free-floating
uml:Commentelements can become standalone Davinci objects (while malformed unnamed HTML-wrapped elements are skipped)
requirement, while comments under behavior-like containers may become action.
How Relationships Come Through
Davinci maps relationships deterministically, but not one-to-one.Core Rules
- structural containment relationships are filtered out because parent/child structure is handled separately
Generalizationis not imported as a normal relationship; it is handled through Object Inheritance (extends)- pre-identified port-to-port connectors create an
interfaceobject between the resolved ports (including usage-specific ports on part instances) and wire bidirectionalconnectrelationships - multi-valued stereotype reference attributes (such as
Stakeholder.concern) are expanded into individual relationship edges
Relationship Mapping Rules
For other relationships, Davinci applies framework, profile, and XMI-type rules:- profile relationships that match a framework map (such as UAF relationships) are mapped deterministically to their canonical relationship name and registered in the project’s relationship catalog so they are never downgraded to generic SysML edges
- known SysML stereotypes map directly to built-in Davinci relationship types
- other profile relationship stereotypes applied to UML relationship metaclasses (
Association,Dependency,Abstraction,InformationFlow, etc.) are registered as custom relationship types on the project - if no stronger rule applies, the importer uses AI-assisted or rule-based interpretation and falls back to generic relationship types such as
trace
- relationship names containing terms like
power,data,signal,fluid,thermal,mechanical,optical,chemical, orradiocan be upgraded from generic mappings into typed physical-flow relationships
inout.
How Diagrams Turn Into Figures And Matrices
Davinci converts imported diagram metadata into native Figure and Matrix artifacts, organized under a top-levelDiagrams package with child packages for each diagram category (mirroring the Cameo/MagicDraw diagram browser, such as SysML Block Definition Diagrams or Dependency Matrices).
During diagram conversion, Davinci:
- resolves each diagram’s referenced XMI IDs (including part-usage ports and property classifier fallbacks) against the objects that survived import
- converts Generic Tables, Requirement Tables, Diagram Tables, and Glossary Tables into
matrixartifacts, translating MagicDraw built-in columns, attribute/tag columns, custom DSL relation expressions, and multi-hop metachains into Matrix columns - converts Block Definition Diagrams (BDD), Internal Block Diagrams (IBD), Parametric, Requirement, Use Case, Package, Activity, State Machine, and Sequence diagrams into
figureartifacts with matching layout modes (tree,block,activity,state, orsequence) - converts Dependency and Allocation Matrices into
figureartifacts in allocation-matrix mode, including row/column scopes, UAF row/column element types, direct relationship criteria, multi-hop metachains, and derived UAF mapping expressions (such asSV-5bOperational Activity to System mappings)
- diagrams with no resolved imported elements or valid scope are skipped
- relationship-style diagrams may prune disconnected scope elements
- unsupported MagicDraw custom column expressions are omitted when no Davinci Matrix query equivalent exists
Cleanup Davinci Applies Automatically
Before Davinci inserts the imported objects, it applies several cleanup steps:- imported objects are placed in a wrapper package tagged
sysml-import, split intoContainment(the semantic model tree) andDiagrams(imported Figure and Matrix artifacts grouped by diagram type) - children are sorted by Davinci type order and natural numeric/alphabetical name order
- embedded newlines are stripped from object names
- empty unnamed packages are removed (unless they carry a
subclassId, participate in inheritance, or have relationships) - long names (more than 7 words) receive an auto-generated
shortName - self-referencing attribute values are cleared
- action sequences are forced to end with
end() - tags that duplicate the final Davinci type or generic SysML stereotypes are removed
- dangling references are cleaned before structure validation
What To Expect After Import
Export Format Matters
Davinci expects standard XMI/UML/SysML-style exports. If your exporter uses highly customized namespaces, unusual serialization patterns, or tool-specific profile storage, expect some content to be missed, simplified, or downgraded.Package Names Can Change The Result
Davinci partly relies on package context when it decides whether a class is really a requirement. If your tool stores requirements as plain classes inside a package namedRequirements, Davinci can still import them as requirements. If package naming is inconsistent, similar objects may map differently.
Supporting Files Matter
If your export relies on shared model files, profile files, or cross-file references, importing only one visible XML file may not be enough. Missing supporting files often show up as:- missing stereotypes
- broken type context
- unresolved transition timing
- diagrams with reduced scope
Scalar ValueTypes May Not Show Up As Objects
This is expected. Davinci often turns scalar value types into unit metadata instead of keeping them as standalone imported objects.Some Parametric Content Is Skipped On Purpose
Davinci discards untyped constraint properties because they do not carry enough useful model semantics on their own.Diagrams Are Best-Effort Artifacts
Davinci recreates diagrams as nativefigure and matrix artifacts under the Diagrams package instead of preserving native MagicDraw diagram layout definitions. Expect to lose some manual canvas coordinates, custom table expressions without a Davinci query equivalent, and diagram-only decoration.
A Successful Import Still Needs Review
Final validation blocks hard structural failures, but an import can still succeed with warnings or simplified content. For example:- attributes may import without a useful value
- ports may import with incomplete direction/kind details
- actions may require sequence cleanup or review
- relationships may fall back to generic
trace-style mappings
Common Import Issues
Large Parts Of The Model Are Missing Common causes:- the archive did not include the supporting model files
- the export used non-standard namespaces or profile storage
- the selected archive entry was not the primary model
- the content was stored in a dialect or construct this importer only partially supports
connect
Davinci only promotes connectors to connect when it can resolve them cleanly as port-to-port interfaces. Other connectors may fall back to more generic relationship handling.
Diagrams Did Not Appear
Davinci skips a diagram if none of its referenced elements survive import or if its resolved scope becomes empty after cleanup.
How To Get The Best Results
To get the cleanest results:- Prefer complete
.mdzipexports or complete XML/XMI bundles, not partial single-file extracts. - Keep shared/profile/supporting files together with the primary model.
- Use clear package naming, especially for requirements-heavy sections.
- Expect scalar value types to become units rather than standalone objects.
- Upload diagram images alongside the XMI or MDZIP when you want Davinci to review, explain, or help update the imported model afterward. The structured model data is useful, but the diagram images preserve visual intent, layout, and notation that do not survive cleanly in XMI alone.
- Review imported Figures, Matrices, constraints, relationships, subclasses, and state behavior after import.
Quick Summary
Davinci’s current SysML 1.x and UAF importer gives you a deterministic structural and semantic conversion pipeline:- it understands archives, supporting files, profile generalizations, and cross-file timing/change-event context
- it detects UAF 1.2 models and seeds UAF project subclasses, relationship types, and comment rollups
- it maps common SysML and UAF constructs into Davinci objects, wiring
extendsinheritance for generalizations and typed usages - it treats structured vs scalar data definitions differently and wires sum equations for detected SysML rollup patterns
- it organizes the imported model into
ContainmentandDiagrams, converting tables intomatrixartifacts and diagrams/allocation matrices intofigureartifacts - it intentionally skips or simplifies constructs that do not translate cleanly