Solid Edge Draft Type Library
SaveAsWithCustomPropertiesBIDM Method
Solid Edge Draft Type Library > DraftDocument Object : SaveAsWithCustomPropertiesBIDM Method
File path where file is to be saved.
Unique Document number to generate file name using revision.
Revision as string.
Optional – Saves the input "Title" property to newly created file.
Optional – Saves the input registered custom properties information to newly created file.
Description
Saves the referenced document to a new name using document number and revision and set custom properties.
Syntax
Visual Basic
Public Function SaveAsWithCustomPropertiesBIDM( _
   ByVal FilePath As String, _
   ByVal DocumentNumber As String, _
   ByVal Revision As String, _
   ByVal Title As String, _
   ByVal varPropInfo As Variant _
) As String
Parameters
FilePath
File path where file is to be saved.
DocumentNumber
Unique Document number to generate file name using revision.
Revision
Revision as string.
Title
Optional – Saves the input "Title" property to newly created file.
varPropInfo
Optional – Saves the input registered custom properties information to newly created file.
Remarks
• This method will do SaveAs of document when BIDM mode is ON and option “Automatically name files via Document Number and Revision.
• This method generates the file name based on provided document number and Revision.
• If user has not provided the Revision number then it will take default revision.
• If user has not provided the Unique Document number then this API fail and will not return generated file name.
• If use has not provided the value for required registered property then this API will fail and will not create the new file.
See Also

DraftDocument Object  | DraftDocument Members