.NET Framework Class Library
DataEntrHelper.DefaultOutputValues Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > DataEntrHelper Class > DataEntrHelper Methods > .NET Framework Class Library |
Outputs default values to the MWPDM API after script execution. This method performs several actions to prepare and transmit script-generated data:
•Validates that both the folder and file name are set; shows an error message if missing.
•Writes the file name and folder path using DBWLib.DBWOutput, ensuring the path ends with a backslash.
•Outputs part/assembly ID and description, if available.
•If the part/assembly was copied, outputs the source UID and corresponding ID.
•Outputs category values for all categorizable fields.
•Clears unused category fields beyond the maximum allowed, unless called from the Assembly Duplication Wizard ("ADW").
•Outputs the current project name, if specified.
•Outputs configuration property name when the context is ADD_CONFIGURATION or RENAME_CONFIGURATION.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub DefaultOutputValues |
C# |
|---|
public void DefaultOutputValues() |
Visual C++ |
|---|
public: void DefaultOutputValues() |
JavaScript |
|---|
function defaultOutputValues(); |
See Also