Transcript
Page 1: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

Markus Koechl

Autodesk Vault Workgroup | Professional | Office

Solutions Engineer PDM|PLM – Autodesk Central Europe

Data Standard 2019 – What’s New

Page 2: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

2© 2016 Autodesk

Agenda

► VDS General Enhancements► Installation

► Override Property Validation Capability in PowerShell

► Configuration Structure

► Help Update and Additions

► VDS Inventor Enhancements► Override Property Validation Capability in PowerShell

► Check Unique File Name Before Save

► Configure Inventor User Command Support

► Frame Generator Support Improvement

► FDU Asset Builder Support | FDU Synchronization Support

► Initialization Performance

► Migrate Previous Versions Configurations► Minimum Migration

► Migrate + Enhance – Add new features

Page 3: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

VDS – General Enhancements

Page 4: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

4© 2016 Autodesk

Vault Data Standard 2019 | Installer

► Install Tools & Utilities

Page 5: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

5© 2016 Autodesk

Vault Data Standard | Uninstall

► Uninstalls independent of client

► Included in Autodesk Uninstall Tool

Page 6: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

6© 2016 Autodesk

Vault Data Standard | Update Installer

► Vault Client Update patches all installed components► Vault, Vault Workgroup, Vault Professional or Vault Office

► VDS-Inventor, VDS-AutoCAD, VDS-Vault

► VDS 2019.1 includes► VDSI | VDSA

► Default configuration supports FileNameValidation for _SaveCopyAs mode

► Default configuration supports AutoCAD Mechanical and Vanilla configuration

► New Feature “DisableVdsForCmds” no longer interferes with assembly context modeling workflows

► Several fixes and performance enhancements

► VDS-V

► Property constraint and custom validation supported on top of existing dialog validation

Page 7: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

7© 2016 Autodesk

Property Validation | Custom Override

▪ The VDS IProperty Object adds new Properties▪ $Prop[“myUDP”].CustomValidation = { put your script code here }

▪ Return $true/$false to drive IProperty state IsValid

▪ $Prop[“myUDP”].CustomValidationErrorMessage = “Your Message”▪ The ToolTip for the IProperty containing Control

▪ See Help for complete list of Object Properties: http://help.autodesk.com/view/VAULT/2019/ENU/?guid=GUID-9851FE4D-6788-467F-B79D-EF78F385BD2C

Page 8: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

8© 2016 Autodesk

Custom Property Validation | Use Case

► Check existence of new folder name

Page 9: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

9© 2016 Autodesk

Use Case | Demo Video

Page 10: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

10© 2016 Autodesk

Custom Property Validation | Use Case

► Check existence of new folder name

Page 11: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

11© 2016 Autodesk

Custom Property Validation | Use Case OTX Sample

► OTX Sample Configuration – Legacy Implementation

► Compare Update 1 Configuration Sample (previous slide)► Single line of code to raise user feedback message

► Feedback in UI, red border, tooltip implemented as a default feature of custom validation

Page 12: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

12© 2016 Autodesk

Configuration Structure

► Update Installation maintains existing customized configuration

► New configuration structure allows to separate default and custom dialogs and logic

► Custom logic and dialogs override default if equally named

► Default configuration remain as is

► Easily switch from default to custom configuration or vice versa

► Compatibility for existing tailored configurations

Page 13: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

13© 2016 Autodesk

Configuration Structure | Load Behavior

VDS Loading Behavior

► Example 1► CAD\Default.ps1

► CAD.Custom\Default.ps1

► Example 2 ► Default.ps1 – InitializeWindow

► MyCompanyDefault.ps1 – InitializeWindow

► Benefits► Easily Swap In/Out *.Custom Folders

► Avoid References in Default.ps1

Page 14: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

14© 2016 Autodesk

Configuration Structure

VDS Loading Behavior for Unique Files

► DSLanguages.xml

► CustomEntityDefinition.json

Subject to be changed in future releases

Page 15: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

15© 2016 Autodesk

Configuration Structure | Update Behavior

► Update Installation maintains existing customized configuration

► Update/New Version Installer excludes *.Custom Folders

► Update Installer compares default configuration files’ date-time stamp to maintain newer files

► Important Note: Applies to all Localization Folders en-US, de-DE, etc.

Page 16: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

16© 2016 Autodesk

Vault Data Standard | Help

► Vault Administrator Tasks► Client Administration

► Data Standard Administration

► Vault Developer Tools► VDS API Reference

Page 17: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

VDS – CAD Enhancements

Page 18: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

18© 2016 Autodesk

Property Validation | Custom Validation Override

▪ Default validation respects Vault configuration

▪ Custom override follows custom biz logic

▪ The VDS IProperty Object adds new Properties▪ $Prop[“myUDP”].CustomValidation = { put your script code here }

▪ Return $true/$false to drive IProperty state IsValid

▪ $Prop[“myUDP”].CustomValidationErrorMessage = “Your Message”▪ The ToolTip for the IProperty containing Control

▪ See Help for complete list of Object Properties: http://help.autodesk.com/view/VAULT/2019/ENU/?guid=GUID-9851FE4D-6788-467F-B79D-EF78F385BD2C

Page 19: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

19© 2016 Autodesk

Custom Property Validation | Use Case File Name Check

▪ Check existence of new file name before check-in▪ Check local workspace

▪ Check Vault differentiating Enforce Unique File Names setting▪ Enabled -> Check existence searching entire Vault

▪ Disabled -> check existence searching selected folder only

Page 20: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

20© 2016 Autodesk

Custom Property Validation | Use Case File Name Check

▪ Default Implementation – Validates in CreateMode▪ Check local workspace

▪ Check Vault respecting unique file names

Page 21: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

21© 2016 Autodesk

Custom Property Validation | Use Case File Name Check

▪ Extended OTX implementation validates as before in▪ CreateMode

▪ CopyMode (as it includes CreateMode)

▪ SaveCopyAsMode

Page 22: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

22© 2016 Autodesk

Use Case File Name Check | Video

Page 23: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

23© 2016 Autodesk

Custom Property Validation | Use Case File Name Check

▪ Extended OTX Implementation File Name Validation▪ SaveCopyAsMode

Page 24: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

24© 2016 Autodesk

Custom Property Validation | Use Case File Name Check

▪ Extended OTX Implementation File Name Validation AutoCAD▪ Support filename properties DocNumber and GEN-TITLE-DWG

Page 25: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

25© 2016 Autodesk

Configure Inventor User Commands | Overview

▪ Purpose▪ Exclude Inventor Commands / Workflows from VDS Save-Event subscription

▪ Retrieve file number for excluded commands before Save-Event

▪ Benefit▪ Default Configuration to better support

▪ Frame-Member-Edit workflows – there are multiple within one command

▪ FDU Asset Builder – Overlapping intent of FDU and VDS

▪ Any 3rd party Inventor Add-In using save events – things we can’t know ;)

▪ Configuration▪ Retrieve User Command Names

▪ Add User Commands

Page 26: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

26© 2016 Autodesk

Configure Inventor User Commands | Default Configuration

Intents & Behavior

▪ Bonus Tools – Add Part / Assembly

▪ Frame Generator▪ Change Frame Member Size

▪ Change Frame Member Family

▪ FDU Asset Builder

▪ Assembly Mirror

Page 27: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

27© 2016 Autodesk

Add Part / Add Assembly | Intent & VDS Behavior

► Intent ► Save new file with minimal input

► VDS Behavior► VDS backs out of any interaction

► Vault numbering optionally shares file number

Page 28: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

28© 2016 Autodesk

Frame Generator | Change Member – Intent & VDS Behavior

Intent / Command Options

► Change Standard / Family► New part file, new property set

► VDS Behavior► Manage like a new added frame member

► VDS Frame Generator Dialog offers property editing and validation

► Change Size► New part file, Frame Generator transfers existing properties

► VDS Behavior► No interaction required, as FG transfers already added

and validated properties

Page 29: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

29© 2016 Autodesk

FDU – Asset Builder | Command Intent & VDS Behavior

► Intent► Asset Builder implemented specific

property management/editing

► Asset Builder saves different files / file formats to strictly defined locations

► VDS Behavior► VDS backs out of property creation /

editing

► VDS doesn’t hook up to any save event within Asset Builder

Page 30: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

30© 2016 Autodesk

Assembly Mirror | Intent & VDS Behavior

► Intent► Insert new mirrored components

Or

► reuse existing component in mirrored positioning

► In existing assembly

Or

► New assembly

► VDS Behavior► Validate properties for new files

VDS enabled

VDS disabled

Page 31: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

31© 2016 Autodesk

Configure Inventor User Commands | How To Add More?

▪ Retrieve User Command Names▪ API Sample Command*

▪ Add User Commands▪ Start XML Editor as Administrator and add/remove commands

▪ DisableVdsForCmds

▪ EnableVaultNumSchemeForCmds

Page 32: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

32© 2016 Autodesk

Configure Inventor User Commands | Need to Know

▪ Don’t add commands to “EnableVaultNumSchemeForCmds” + “DisableVdsForCmds”

▪ Not all Save Events are registered “UserCommands”, e.g. FDU Synchronization

Page 33: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

33© 2016 Autodesk

Configure Inventor User Commands | Sample

► Objective► Preset Inventor Assembly Copy copying to new file instead of copy instance as a default

► Solution► Add command “AssemblyCopyComponentCmd” to DisableVdsForCmds

Enables default Vault numbering

The naming preview is not reset to reuse

Downstream save events continue validating against category

To avoid any validation use “SkipForProperties” function instead

VDS enabled VDS disabled

https://knowledge.autodesk.com/community/screencast/4e666c95-f0cf-4ef0-9aa8-13dc1354fad8

Page 34: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

34© 2016 Autodesk

Configure Inventor User Commands | Summary

► Configuration option solves conflicts of command intents and general VDS behavior

► Configuration option delivers flexibility► Carefully review both options

► Additional rules may be required, like switching VDS numbering to “None” if number already set by Vault numbering preview

Page 35: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

35© 2016 Autodesk

Initialization Performance

▪ VDS 2019 RTM – Optimized Server Communication▪ CAD add-ins load Vault configuration setting only one time

▪ First dialog initialization loads => Add-in keeps configuration in RAM

▪ VDS 2018.2 – Includes▪ CAD add-ins load Vault configuration setting only one time

▪ First dialog initialization loads => Add-in keeps configuration in RAM▪ Improved initialization behavior of property mapping

▪ VDS Inventor - Copy Drawing, Copy/Replace incl. Drawing▪ Optimized Download of related files

Future updates

▪ VDS 2019.1 – Improved Mapping Initialization, Copy Commands IDW/DWG

▪ …

Page 36: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

Migrate Legacy Configurations

Page 37: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

37© 2016 Autodesk

Minimum Update 2017.x/2018.x – 2019

► Align Version ► Find / Replace 2017 or 2018 with 2019

► All files of solution

► VDS CAD – align Prop[“_FileExt”].Value► Find / Replace “IDW” “DWG” “IPT” “IAM”… with

“.IDW” “.DWG” “.IPT” “.IAM”…

► [Shortcut Implementation]► Replace path segment 1_6_2017 with 1_16_2018

Page 38: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

Update/Enhance

Legacy Configurations

Page 39: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

39© 2016 Autodesk

Move Custom Configuration | CAD.Custom – Vault.Custom

► Install 2019 – Leave default configuration files► Copy custom configuration files for CAD and Vault to CAD.Custom, Vault.Custom

► Add Property Translations – Don’t replace by older files

► Editing creates modification date

► Add UIStrings editing 2019 files – Don’t replace by older files

► Editing creates modification date

► Editing includes the 2019 additions

Page 40: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

40© 2016 Autodesk

CAD | Add Filename Validation

▪ Additional script FilenameValidation.ps1 resides in 2019 CAD default

▪ Add calling function to custom function InitializeWindow▪ Add Validated Binding for FILENAME text box control:

Text="{WPF:ValidatedBinding Name}“

▪ Check FILENAME property▪ Update customized name in validation script

▪ Inventor default = DocNumber

▪ AutoCAD default = GEN-TITLE-DWG

Page 41: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

41© 2016 Autodesk

Set Window Title | Extended Window Support

▪ Replace existing (default) function SetWindowTitle

Page 42: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

42© 2016 Autodesk

PowerShell Script Clean-Up

▪ Default 2019 scripts use structured initializations

Page 43: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

43© 2016 Autodesk

PowerShell Script Clean-Up

▪ Considerations before you adopt the updated structure▪ What point of time matches my customization calling

▪ InitializeCategory, InitializeNumSchm, etc.

Page 44: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

44© 2016 Autodesk

PowerShell Script Clean-Up | Good To Know

▪ Respect the order

InitializeWindow

• XAML controls are not filled yet, e.g. ItemsSource = $null

XAML calling PsCmd/PsList/PsVal

• e.g. filling ItemsSource = $numSchms

[Optional Event Handlers]

• $Prop[“_NumSchm”].add_PropertyChanged({})

Function InitializeWindow() finished

Note – Executes already for preset selections, e.g. “SelectedIndex”=“0”

Page 45: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

Vault Data Standard 2019What’s New - Summary

Page 46: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

46© 2016 Autodesk

VDS 2019 What’s New | Summary

► Significant changes 2019 RTM► Integrated Installer

► Aligned Release / Update Cycles

► VDS CAD

► Configure Inventor User Command Options

► Performance – Number of Vault Communication Calls

► Significant changes 2019 Update 1► VDS CAD – Add Performance Enhancements of VDS 2018.2 Initializing Dialogs

► VDS CAD – Updated default configuration

► VDS Vault – Custom Validation supported on top of legacy dialog validation

Page 47: Autodesk Vault Data Standard 2019...Preset Inventor Assembly Copy copying to new file instead of copy instance as a default Solution Add command “ AssemblyCopyComponentCmd ” to

Top Related