Vault Customization

Reply
Valued Contributor
rick_hgy
Posts: 77
Registered: ‎04-13-2009
Message 1 of 5 (500 Views)
Accepted Solution

AutoCAD 2D DWF Questons of Vault

500 Views, 4 Replies
05-07-2012 02:00 AM

We want to control the DWF file view as the 2.png file, not the auto generate with 1.png. because sometime we need to view those DWF file in webpage.

 

We can check in DWG file to vault by program, including generate the DWF file automaticaly. but we didn't know the relationship of those two format.

 

Question 1: how to check in DWG and it's DWF file to vault, keep those two file relation and make sure when select on dwg file in Vault, the preview is correct.

Question 2: can we change the background of DWF viewer from white to Black?

 

any input is highly appreciated!

 

Rick

 

 

 

 

Employee
Daniel.Dulzo
Posts: 61
Registered: ‎05-25-2011
Message 2 of 5 (483 Views)

Re: AutoCAD 2D DWF Questons of Vault

05-07-2012 11:28 AM in reply to: rick_hgy

Hi Rick,

 

The preview file used by Vault is determined by checking for a special "visualization attachment" file relationship. You can create this file relationship yourself through the SDK when adding a new file to Vault. It basically involves adding the visualization file to Vault with some special properties and then telling Vault about the relationsihp between the visualization file and the design file.

 

As a best practice, the visualization file should be added to Vault with the same filename as its design document but with the ".dwf" extension appended. All visualization files should be added to the Vault as hidden files and the File classification should be set to DesignVisualization. To create the relationship, call AddDesignVisualizationFileAttachment to link the visualization file to the design document after both the design document and the visualization have been added to Vault.  Some more information about file relationships and attachments can be found here: http://justonesandzeros.typepad.com/blog/2010/11/attachments-and-dependencies-faq.html.

 

As far the changing the background color of the DWF preview goes, I believe this discussion thread has the answer: http://forums.autodesk.com/t5/Autodesk-Vault/Change-background-color-on-autocad-dwf-preview-in-vault....



Daniel Dulzo
Software Engineer
Autodesk, Inc.
Valued Contributor
rick_hgy
Posts: 77
Registered: ‎04-13-2009
Message 3 of 5 (478 Views)

thanks, Daniel!

05-07-2012 06:58 PM in reply to: Daniel.Dulzo

Two other questions:

 

1.  Same rule for inventor and Pro/E for DWF preview?

2. Files relationship tracking rule for Vault? if we want to check in inventor or Pro/E file to Vault, how to keep the model/drawing structure, it's should have some rule for 3D product.

 

 

Employee
Daniel.Dulzo
Posts: 61
Registered: ‎05-25-2011
Message 4 of 5 (465 Views)

Re: thanks, Daniel!

05-08-2012 09:39 AM in reply to: rick_hgy

I'm not sure if I understand your question fully, but if you're worried about how to create the correct file relationships when adding an assembly or other design data to Vault, I would suggest using appropriate add-in to do this. The add-ins will keep the correct structure of the files and you should be able to opt not to generate visualization files on check-in. You can then use your own custom tool to create and attach the visualization files that you want.



Daniel Dulzo
Software Engineer
Autodesk, Inc.
Valued Contributor
rick_hgy
Posts: 77
Registered: ‎04-13-2009
Message 5 of 5 (457 Views)

Re: thanks, Daniel!

05-09-2012 10:42 PM in reply to: Daniel.Dulzo

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community