Export of E-BOM Part with Document

This section provides examples of XPDMXML export for an E-BOM Part with a document.

A document cannot be exported independently, it must be linked to a Pprt.

This page discusses:

Export of E-BOM Part with Document

Assuming an E-BOM part named P1 has a Drawing Print linked with Part Specification relationship and a Document linked with Reference Document relationship, export generates the following XPDMXML file:

<EBOMStructure id=”ID1” rootRefs=”ID2” updateChildMode=”RemoveExistingNotProvided”>
		<Part id=”ID2”>
			<ID>P1</ID>
			…
		</Part>
		<PartSpecificationRelationship id=”ID5”>
			<Owned>ID2</Owned>
			<Instancing>ID4</Instancing>
		</PartSpecificationRelationship>
		<PartReferenceDocumentRelationship id=”ID7”>
			<Owned>ID2</Owned>
			<Instancing>ID6</Instancing>
		</PartReferenceDocumentRelationship>
		<DrawingPrint id=”ID4”>
			<ID>D-0000100</ID>
			<Name>D-0000100</Name>
			<TimeCreated>2012-07-31T09:33:40+01:00</TimeCreated>
			<TimeModified>2012-07-31T09:36:16+01:00</TimeModified>
			<UniqueID External=”4D7B0463DC7CC36435630E0E6298255EAB6C130E” XID=”4D7B0463DC7CC36435630E0E6298255EAB6C130E”/>
			<Maturity>Preliminary</Maturity>
			<RevisionName>A</RevisionName>
			<Owner>User1</Owner>
			<Lifecycle>Drawing Print</Lifecycle>
			<Title>D-0000100</Title>
			<Language>English>/Language
			<Originator>User1</Originator>
		</DrawingPrint>
		<Document id=”ID6”>
			<ID>DOC-0000003</ID>
			<Name>DOC-0000003</Name>
			<TimeCreated>2012-07-30T11:53:34+01:00</TimeCreated>
			<TimeModified>2012-07-30T14:20:02+01:00</TimeModified>
			<UniqueID External=”4D7B0463DC7CC364EB140E0EAB67245E1FEA1C0E” XID=”4D7B0463DC7CC364EB140E0EAB67245E1FEA1C0E”/>
			<Maturity>Exists</Maturity>
			<RevisionName>0</RevisionName>
			<Owner> User1</Owner>
			<Lifecycle>Document</Lifecycle>
			<Title>DOC-0000003</Title>
			<Language>English</Language>
			<Originator>User1</Originator>
		</Document>
	</EBOMStructure>

In the <PartSpecificationRelationship> and <PartReferenceDocumentRelationship> elements, <Owned> refers to the parent <Part> and <Instancing> refers to the child document element (DrawingPrint or Document).

Export of E-BOM Part with Document Owning a File

If a 3DEXPERIENCE platform document entity (Drawing Print, Document) owns a file, the XPDMXML file contains a <File> element which is referred through the <FileRef> xml element. The file owned by the document is copied in the same directory as the XPDMXML file and the copy is named after the value of <Location> element.

For example, an 3DEXPERIENCE platform document having a file attached to it, is exported as follows in the XPDXML file:

<EBOMStructure id=”ID1” rootRefs=”ID2” updateChildMode=”RemoveExistingNotProvided”>
		<Part id=”ID2”>
			<ID>P1</ID>
			…
		</Part>
		<PartReferenceDocumentRelationship id=”ID7”>
			<Owned>ID2</Owned>
			<Instancing>ID6</Instancing>
		</PartReferenceDocumentRelationship>
		<Document id=”ID6”>
			<ID>DOC-0000003</ID>
			…
			<FileRef>ID8</FileRef>
			…
		</Document>
	</EBOMStructure>
	<File id= “ID8”>
		<Name>MyDoc.doc</Name>
		<Location>AutoID_MyDoc.doc</Location>
	</File>