07-26-2018
02:50 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
07-26-2018
02:50 AM
Hi @Anonymous
Thanks for posting!
You are correct. Using the method "SetDimensions" is the right way of setting a stock curve. There is a little quirk when setting a stock curve. This is that you need to set the width, length and thickness, even though they aren't used with a stock curve.
The code you can use to set a stock curve is as follows;
Dim doc As FMDocument Set doc = Application.ActiveDocument Dim stock As FMStock Set stock = doc.Stock Dim curve As String stock.SetDimensions(,2000,2000,30,,,,,"curve2")
I hope this helps! If this answers your query, please accept this reply as a solution. If not, please reply to this post.

Spencer Hardcastle
Manager of Customer Advocacy - Autodesk Fusion