Tag: javascript

  • PLM Scripting Hello World

    Hi, I’m Michal Liu, a developer on PLM 360. I will be showing you how to get the most out of PLM scripting. As this is my first post, I am going to walk through the process to create and run a simple script code. In future posts, I will dive into some topics like…

  • Disabling and Enabling BOM Rows

    One very big feature in Vault 2015 is the ability to turn a BOM row “on” or “off”. I’m going to quickly go over the workflow for disabling a BOM row through the API and how to view that disabled row.

  • JavaScript API と .Net Managed API 間の 連動カスタマイズ

    先回お知らせした「AutoCAD 2014 JavaScript APIと既存APIとの連携の開発環境」を使い、JavaScript API と .Net Managed APIによる以下の連動したカスタマイズと、htmlとJavaScript APIによるデータベースI/O処理について掲載させていただきます。 これは、dotNetカスタムコマンド内より、JavaScript APIでコーディングされた html ファイルと jsファイルをAPIによってロードするカスタマイズの方法を理解していただくと共に、パレットとしてhtmlファイルを表示させ、パレット上の各ボタンからは、dotNetカスタムコマンド環境内のdotNetManagedクラス(dotNet API)を使い、データベースアクセス処理およびJavaScriptからの引数情報でオブジェクトの追加処理を実行させる(既存のdotNetAPIで作成されたカスタムコマンド処理を動作させることをイメージとしたサンプル)のほか、パレット上のボタンから直接JavaScript( js )ファイル内にコーディングされたJavaScript APIを使って JavaScriptファイルとhtml間のオブジェクト情報のI/O の動作の理解を目的としています。 今回の処理の内容: 1. Netカスタムコマンドを使ってhtmlとJavaScriptファイルをロードしツールパレットにhtmlを表示 2. htmlのボタン1 -> JavaScript -> .Netマネージコードでデータベースへ追加処理の呼び出し (呼び出された.Netカスタムコマンド内で、Json.Netを使いJavaScriptから引数の引き渡しデータを使ってデータベースへ線分とテキストオブジェクトの追加処理) 3. htmlのボタン2-> JavaScript -> .Netマネージコードでデータベースクエリー処理の呼び出し (呼び出された.Netカスタムコマンド内で、データベースのクエリー処理) 4. htmlのボタン3 -> JavaScript -> JavaScript APIでリアクタ処理の追加 (JavaScript API を使ってオブジェクトにリアクタをセットし、Object ID一覧をhtml上に表示) 5. htmlのボタン4 -> JavaScript -> JavaScript APIでリアクタ処理の解除…

  • Vault Gadget

    The worklist feature in Vault Professional is a nice feature.  It pops up information informing you of any change orders you need to take action on.  The only problem is that you need to launch the Vault Professional client to get that feature.  Chris Sawicki and Brian Schanen decided to change that with Vault Gadget.…