M_AMLEngineExtensions_ExternalizationExtensions_SaveSplitModelParts_1
ExternalizationExtensions.SaveSplitModelParts Method (CAEXDocument, String, Boolean, Boolean, List(String))
Split a model at defined split points, insert the appropriate ExternalReferences and proxy objects, save each of the parts split off and the remainder separately to file, and re-merge the parts split off for further processing as a whole, removing unneeded ExternalReferences again.
Namespace: AMLEngineExtensions
Assembly: AMLEngineExtensions (in AMLEngineExtensions.dll) Version: 3.5
C#
public static bool SaveSplitModelParts(
this CAEXDocument doc,
string filePath,
bool saveLibraries,
bool prettyPrint,
List<string> otherAMLFilesToCheckForConsistencies
)
C++
public:
[ExtensionAttribute]
static bool SaveSplitModelParts(
CAEXDocument^ doc,
String^ filePath,
bool saveLibraries,
bool prettyPrint,
List<String^>^ otherAMLFilesToCheckForConsistencies
)
- doc
- Type: CAEX_ClassModel.CAEXDocument
(this) The document to split into parts. - filePath
- Type: System.String
The path where to store the remainder after splitting off at defined split points. - saveLibraries
- Type: System.Boolean
If true, libraries that have split points defined will be split off and saved, too. - prettyPrint
- Type: System.Boolean
If true, indent the XML output. - otherAMLFilesToCheckForConsistencies
- Type: System.Collections.Generic.List(String)
Stringlist of other CAEX files that shall be included into the merge procedure.
Type: Boolean
True iff not an error.
In Visual Basic and C#, you can call this method as an instance method on any object of type CAEXDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
ExternalizationExtensions Class
SaveSplitModelParts Overload
AMLEngineExtensions Namespace
AMLEngine Documentation
Send comments on this topic to [AutomationML office](mailto:office%40automationml.org?Subject=AMLEngine Documentation)- Introduction
- [Version History](Version history)
- [Version 3.5](Version 3.4)
- [Version 3.1](Version 3.0)
- [Version 2.1](Version 2.1)
- [Version 2.0](Version 2.0)
- [Getting Started](Getting started)
- Examples
- AMLEngine API
- AttributeType
- AttributeValueRequirementType
- CAEXBasicObject
- CAEXDocument
- CAEXFileType
- CAEXObject
- ChangeModeStates
- CopyrightType
- DescriptionType
- ExternalInterfaceType
- ExternalReferenceType
- InstanceHierarchyType
- InterfaceClassLibType
- InterfaceClassType
- InterfaceFamilyType
- InterfaceNameMappingType
- InternalElementType
- InternalLinkType
- MappingType
- NominalScaledTypeType
- ObjectWithAttributes
- OrdinalScaledTypeType
- RefSemanticType
- RevisionType
- RoleClassLibType
- RoleClassType
- RoleFamilyType
- RoleRequirementsType
- SupportedRoleClassType
- SystemUnitClassLibType
- SystemUnitClassType
- SystemUnitFamilyType
- UnknownTypeType
- VersionType
- IClassWithBaseClassReference
- IInstantiable
- IObjectWithAttributes
- IObjectWithExternalInterface
- IObjectWithRoleReference
- CAEXPathReferenceTable Class
- CAEXTable(T) Class
- CAEXTables Class
- ElementCollection(T) Class
- PathReferenceElement Class
- ReferenceElement Class
- RepairTypeEnum Enumeration
- UpdateActionEnum Enumeration
- UpdateEventArgs Class
- ValidationElement Class
- ValidationKey Class
- ValidationTypeEnum Enumeration
- CAEX_ClassModel.XmlExtension Namespace