Anyone knows if the Attribute bulk update is expose to Powershell?
If not expose, please consider this as a request
The command could be
Powershell interacts directly with ProjectWise at a lower level, it can't control the user interface of the administrator or explorer.
PowerShell provides Update-PWDocumentAttributes for updating the attributes on a document. You have to build the part that finds the files you want to update. You have to write your own logging.
I'd suggest starting with Get-PWDocumentsBySearch for finding files, and Write-PWPSLog for creating your own log file.
Updates or creates a new document attribute record.
Update-PWDocumentAttributes [-InputDocuments] <ProjectWiseDocument> [-Attributes] <Hashtable> [[-ReturnBoolean] <SwitchParameter>]
Takes an array of document objects from the pipeline and a hashtable of attribute values and updates or creates a document attribute record.
To see the examples, type: "get-help Update-PWDocumentAttributes -examples".
For more information, type: "get-help Update-PWDocumentAttributes -detailed".
For technical information, type: "get-help Update-PWDocumentAttributes -full".
Thank you Kevin....
Will check with the programer. if they can manage to work with this info
With my neophyte eyes, i have this question, the attribute inside the Autocad file ( the title block) cannot be read using this code? we Need to find acad code we can write in PS language for that? PWPS_dab is not able to do that on it's own?
If you're using ProjectWise's Attribute Exchange to tie ProjectWise attributes to AutoCAD then all you need to do is adjust the ProjectWise attribute and AutoCAD will update to the new value at open.
If you're using some other method then you'll need to use the tools the other method provides. For example if it's a method Autodesk has inside of Autocad then you'll probably need to use their recommended method of automating (I would suspect this is Visual Basic or Lisp).
Somebody does seem to have done work with integrating AutoCAD with Powershell, but it was with AutoCAD 2016, no idea if it still works, or provides the functions you want.