About the Name of Imported File

Below is some information on how to add the name of the imported file to the PLM Object currently imported in 3DEXPERIENCE.

You need to customize a Business Logic rule to automate the process during import. The opening ID to customize the Business Logic is Import/Export Attributes Valuation (PLMImportExportAttributesValuation). For more information, see Import/Export Attributes Valuation (PLMImportExportAttributesValuation).

Note: You cannot add a default attributes to all PLM entities into 3DEXPERIENCE.

PLM Leader creates a new rule (.CATRule) for STEP import where the source filename ExternalFileName is accessible and usable to customize the currently processed PLM object (ThisObject).

PLM Designer applies this Business Logic rule when importing STEP files.

The imported data now have an atttribute containing the concatenated name of the source STEP file associated to each entity, with the value built and set in the Business Logic. The attribute may be a new one or an existing or default one.

Example of rule:

Let filename(string)

if (ThisObject->HasAttribute(“V_fromExternalID”) == true)
{
	If (Parameters->HasAttribute(“ExternalFileName”) == true)
	{
		filename = Parameters->GetAttributeObject(“ExternalFileName”)
		ThisObject->SetAttributeString(“V_fromExternalID”, filename)
	}
}