Category: ToDelete
-
Revit API Tips: Dimension API の更新(Revit 2025~)
Revit プロジェクト環境における寸法要素の作成について、Revit 2025 では、Dimension クラスが改修され、Dimension クラスを基底クラスとして、各寸法オブジェクトの派生クラスが作成されました。 Revit 2024 API までは、NewDimension()メソッドで長さ寸法を作成する方法が提供されてきました。 また、指定点高さ/指定点座標(SpotDimension)は、Document.NewSpotElevation()/NewSpotCoordinate()メソッド、角度寸法(AngularDimension)は、AngularDimension.Create()メソッドのように、それぞれ作成方法に統一感がない状態で公開されておりました。 Dimension API が整理されたことで、寸法作成の実装がしやすくなりました。 新規クラス 新規メソッド なお、これまでご利用いただいていた Document.NewDimension()メソッドは、Revit 2025, Revit 2026 でも引き続きご利用いただけます。ただし、このメソッドで作成されるオブジェクトは LinearDimension クラスのインスタンスになります。 ぜひ新しいクラスとメソッドもお試しください。
-
Automating Sheet Metal Punch iFeatures with the Inventor API (VBA)
A Practical Guide for Reliable iFeature Placement Automating sheet metal design tasks in Autodesk Inventor can dramatically improve productivity, consistency, and design quality. One common automation requirement is the ability to programmatically place punch features—such as dimples, louvers, embosses, or knockouts—using iFeature definition files (.ide). While these punch features are easy to place using the…
-
Understanding STL Translator Options and Value Types in Inventor API
by Chandra shekar Gopal, When exporting files to STL format in Autodesk Inventor, users often come across different translator options. These include Surface Deviation, Normal Deviation, MaxEdgeLength, and Aspect Ratio, which are important parameters in defining the quality of the exported STL file. However, a common question that arises is the discrepancy between how these…
-
Read / Write embedded file
<?xml encoding=”UTF-8″>By Adam Nagy When reading e.g. an embedded Excel file then you can simply use the Excel API to interact with the document. However, if it’s e.g. a text file then the default text editor application will be brought up (usually Notepad) and you have no programmatic access to the text file content. 1) The…

You must be logged in to post a comment.