Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

spencer.hardcastle
en respuesta a: hx

Hi @hx,

 

To change the diameter and depth of a hole, you can use the following code...

 

Dim hole as FMHole

 

hole.Update3(,Diameter,Depth)

 

You do not need to use an AttributeID for modifying these parameters, just replace Diameter and Depth in the above code.

 

The FeatureCAM API help is a great resource when writing macros. It can be found by selecting the ? icon in the top right of the FeatureCAM window, and selecting FeatureCAM API Help.

 

Hope this helps,

Spencer


Spencer Hardcastle
Manager of Customer Advocacy - Autodesk Fusion