Author: Autodesk Alumni

  • Forge DevCon Early Bird, Revit API Moving a Grid

    by Jaime Rosales (@afrojme)  I think it has been quite some time since my last post, but definitely it will be something that would not happen again. I’ve been all over the place presenting and evangelizing about Forge, View and Data API and our upcoming DevCon in San Francisco in the month of the Rainy Summer…

  • Configure filters for Vault API SelectEntity dialog

    By Wayne Brill You can specify a filter for the Select Entity dialog by using the ConfigureFilters() method on the SelectEntitySettings class. This method accepts a collection of EntityFilters which describe the behavior of each filter you want to supply to the dialog. Although the SDK doesn’t include an example of calling this method, it…

  • Profile entities by order via EntityAtId

    By Augusto Goncalves (@augustomaia) Unlike Alignment.Entities.GetEntityByOrder, the Profile.Entities only offers a plain enumerator or .EntityAtId. But don’t worry! With the FirstEntity we can iterate through the collection using a loop. The following code snippet show the idea.  By the way, the .NET Extension method will not work here due the stateless paradigm.  Profile p =…

  • Inventor 2017 の新機能 その2

    先回は、Inventor 2016製品のR2/R3 も含めたリリースサイクルに沿ったコンセプトを中心と、今後のInventor製品の計画についてお届けしましたが、今回より、Invento2017 製品の新機能についてご紹介させていただきたいと思います。 Ⅰ. Inventor 2017のコンセプト    今回のInventor 2017バージョンは「プロのエンジニアの役割拡大のために構築」されています。 モデリングの連続した機能強化は、IM、自動車、コンシュマー向けの製品、及び金型設計のためのサーフェス/ソリッドのワークフローをサポートします。 ・コア設計ツールの機能拡張: 始めからより高速な設計とパフォーマンスを最適化。 ・向上された相互運用性 : 製品の完全な定義を構築することができるように、迅速に一緒に設計データをもたらす。 ・統合されたコミュニケーション機能 : プロジェクトチームの誰とでもコミュニケーションしながら、進捗状況を共有。 1.スケッチ関連の強化 • 使いやすい 3D スケッチツール 新しい「3D 移動」コマンドは、迅速且つ正確に移動や回転させるためのジオメトリ操作のツールを提供しています。 • 3D面に曲線のスケッチツール 新しい拘束タイプの追加により、「3D面」に曲線をスケッチできる、より優れた制御を提供しています。 • 3Dスケッチの コピー/貼り付け コピー/貼り付けは、モデル作成時の3Dスケッチの情報を再利用し、同じ3Dスケッチまたは3Dスケッチの間でコピー&ペーストをサポートしています。 2.サーフェース • 境界パッチコマンドの強化 境界パッチコマンドにガイドレールが追加され、カーブとポイントを使用することで正確に継続してフォームを制御したパッチを形成する事ができます。 • ルールドサーフェスの強化 ルールドサーフェスは、すべてのサーフェスタイプのための新しい角度オプションを持ちます。 スイープオプションは、Vectorの名前を変更し、エッジと方向を設定するためのスケッチの選択の両方をサポートしています。 2.パーツ関連の強化 ・「関係」ツール 新しい「関係」ツール機能は、一部の機能間の親子関係を特定します。   直感的に定義されたモデルのパラメータを理解するのに役立ちますし、ジオメトリの変更を自動化するために使用することができます。 ・ パターンの改善 2D または 3D で定義された複雑な構成にフィーチャやボディを作成します。 iFeaturesはマルチボディパーツのパターンとミラーをサポート。 3.アセンブリ関連の強化 ・ メッシュデータ…

  • RevitAPI: how to get point clouds?

    中文链接 By Aaron Lu From Revit > Insert > Point Cloud, we can insert point clouds into Revit, then how to get those points information via API? Inspect with RevitLookup, we found the inserted point cloud is an object of class PointCloudInstance, and there is a method named GetPoints, which is what we want.  …

  • Inventor 2017 の新機能 その1

    Inventor 2017 製品が 2013/03/26(日本時間 2013/03/27) 発売されましたが、今回より Inventor製品のリリースサイクルに伴う情報と、Inventor 2017 製品の新機能・強化機能 を複数回に分けて、ご紹介させていただきたいと思います。 Ⅰ. Inventorのリリースサイクル Inventor 製品は毎年コンセプトに基づいた新しいバージョンがリリースされてまいりましたが、2015年3月のInventor 2016 製品のリリース以降、サブスクリプションの対象者は一年の中間で連続したアップグレードバージョン製品( 2015/10 : Inventor 2016 R2 , 2015/12 Inventor R3)がリリースされ、その都度ご利用いただける製品サイクルとなっています。 Inventor 2016 R2 では、「ジェネレーティブ デザイン」として、コンピューターをツールとしてではなく、素材として扱うという製品コンセプトが掲げられ、また、Inventor 2016 R3 では「コネクテッドデザイン」として、プロジェクトを管理するデータを格納し、A360とAutodesk Vault を使用して「共有デザイン」のコラボレーションをホストするための クラウドとInventorを接続する技術を使って設計する製品コンセプトが掲げられています。 そして、新しいInventor 2017 バージョンは「Inventor Presents(= Inventor が提供するもの)」としてのコンセプトが掲げられたリリースとなっています。 今回は、それぞれのバージョンのコンセプトの簡単な内容を含めご紹介させていただきます。 Ⅱ. Inventor 2016 R2 (1). Inventor 2016 R2 の「ジェネレーティブ デザイン」 コンピューターをツールとしてではなく素材として扱うことで、軽量で且つ構造的に効率的な部品を設計するという考えより、機能要件から直接設計を目指す新しい手法もご利用いただけます。 機能の性能を追求したオリジナルのアイデアを必要とした場合、ポイントはジオメトリではなく機能の性能を重視して、且つデザインの重量を軽減するために何が必要であるかが求められます。…

  • RevitAPI: how to find code examples for macro of python or ruby?

    中文链接 By Aaron Lu One of the new features of Revit 2016 API is that Revit now supports macro written in Python or Ruby. But there is no Python or Ruby code examples in Revit 2016 SDK. So how to get started? Well, most of people did not notice that the code examples are hidden…

  • View and Data API チュートリアル ~ その2 ~ アップロードと変換

    ご注意:View and Data API は2016年6月に Viewer と  Model Derivative API に分離、及び、名称変更されました。 前回の内容 を拡張して、ファイルのアップロード処理とストリーミング配信用の変換処理を実装していきます。なお、ここで紹介する内容は、Autodesk View & Data API – Getting Started Tutorial リポジトリ のChapter 2 に該当するものです。Chapter 2 では、ファイルをアップロードしてストリーミング配信用に変換する処理には、クライアント側処理 – Translating from the client とサーバー側処理 – Translating from the server の 2 通りのオプションが用意されていますが、ここでは手順の少ないクライアント側処理を実装していきます。セキュリティを考慮すると、すべてサーバー側処理で実装するのが 望ましい点に留意してください。 upload.html: upload.js: なお、ここで表示される URN をクリックすると、前回作成した index.js にパラメータとして URN を渡す、3D モデルを表示します。 次回 は、View and Data API で作成したビューアを、Extension と呼ばれるメカニズムを利用して拡張する方法をご案内します。 By Toshiaki Isezaki

  • Inventor Add-In that gets the status of a file opened from Vault

    By Wayne Brill You may want to get the status of a file that was opened from Vault. See this blog post for a discussion on a way to do this. This Inventor 2016 AddIn example uses the EntityStatusImageInfo to get the status of the Inventor active document. The example is only getting the status…

  • Setting Color to Each Face of Solid

    By Madhukar Moogala The below is self explanatory, we ‘ll look at it how we can traverse to each face and paint with different colours. void TestBrep(void) { Adesk::Int32 len; ads_name ssname0; struct resbuf *buffer; buffer = acutBuildList(-4, _T(""), RTNONE); acutPrintf(_T("nSelect a box:")); acedSSGet(NULL, NULL, NULL, buffer, ssname0); acutRelRb(buffer); if (RTNORM == acedSSLength(ssname0, &len)) {…