Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2015 R2 DataStandard FileName

1 REPLY 1
Reply
Message 1 of 2
Marcel.Decressin
485 Views, 1 Reply

2015 R2 DataStandard FileName

Hello,

 

i use Vault Data Standard 2015 R2 with the new Numbering Schemes support.

Number

But now i have a new Number for all files also for .idw and .ipn.
How can i disable the Number generator for .idw and .ipn files?

 

Thanks for your help.

1 REPLY 1
Message 2 of 2
wangdu
in reply to: Marcel.Decressin

Hi Marcel,

 

Data Standard currently doesn't support the options for disabling the New Numbering Schemes out of the box for the .ipn and .dwg files.

 

Having said that, you can however, customize (which the Data Standard is known for) to disable the numbering schemes for the said files. In order to do that, you have to find the Default.ps1 file under this location 'C:\ProgramData\Autodesk\Vault 2015 R2\Extensions\DataStandard\CAD\addins'.

 

In this powershell script file, there is a function 'GetNumSchms' which will return the active numbering schemes for every file type. So, what you can do is to let this function return '$null' for those file types which you don't need the numbering schemes.

 

E.g. 

function GetNumSchms

{

  try
  {
@     $drawings = @("DWG","IPN")
     if ($drawings -contains $Prop["_FileExt"].Value)
     {
        return $null
     }
    $numSchems = $vault.DocumentService.GetNumberingSchemesByType('Activated')
    #... so on.

 


@Marcel.Decressin wrote:

Hello,

 

i use Vault Data Standard 2015 R2 with the new Numbering Schemes support.

Number

But now i have a new Number for all files also for .idw and .ipn.
How can i disable the Number generator for .idw and .ipn files?

 

Thanks for your help.




 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report