Batch Plot API

Batch Plot API

Anonymous
Not applicable
1,233 Views
5 Replies
Message 1 of 6

Batch Plot API

Anonymous
Not applicable

 

Hello!

I am looking for a way to engage Vault Explorers Batch plot window from my code and pass to it a list of VDF FileIterations to plot. I am looking for this because I need to plot drawings in a specific order I get from another source.

Tanks in advance!

 

0 Likes
1,234 Views
5 Replies
Replies (5)
Message 2 of 6

Redmond.D
Autodesk
Autodesk

Sorry, but you can't invoke commands from the API, and there are no Vault API functions related to plotting.



Doug Redmond
Software Engineer
Autodesk, Inc.

0 Likes
Message 3 of 6

Anonymous
Not applicable

Then I guess I am stuck with reversing the BatchPlot XML file format and reconstucting it with API and other data. Any advice on how to go about that?

0 Likes
Message 4 of 6

nstone
Contributor
Contributor

any luck with this? I would also like to create a custom XML file.

 

I believe that i can access most of the properties needed, except for one. I don't know were to get access to the Identifier tag for each sheet.

Does anyone know where I can find the hash code?

I seems similar to the internal name of the file, but they don't match.

 

I have attached a image with the section of the XML file.

0 Likes
Message 5 of 6

Anonymous
Not applicable

I found that it does't care about the identifier that much, it could be aything You wish as long it's unique.

 

Have You found a way to get the page setup from the API, cause I could't and I have settled on creating and mainaining a dictionary of masterIds and appropriete page setups.

0 Likes
Message 6 of 6

Anonymous
Not applicable

I thought I had it, but I didn't. I recreated the <pages> section of the xml and lefe the <plotSources> section blank (could not recreate it), and it seemed to work, however Vault stubornly is selecting the latest versions of the files in the <pages> section, which is unacceptable in my case. Adding <plotSources> resolves this, but I still cant create it programmatically, there is one missing piece of information - the objectUri.

Can anyone tell me how to get this objectUri?

 

Thanks in advance.

0 Likes