Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
wayne.brill
in reply to: AlexFielder

Hi Alex,

 

I do not have anything to suggest after looking at your code and I believe there is not any API method that directly wraps a curve to a surface like the UI can do.

 

Could you explain more about what part of the code you are trying to simplify? Also a description of the workflow that the user would take and what the code is doing may help.  I see a WorkPoint and a WorkAxis being created but I am not seeing where a curve is being created on a surface.

 

This post seems related but not sure if it will help:

http://modthemachine.typepad.com/my_weblog/2016/06/projecting-points-onto-a-solid.html

 

Thanks,

Wayne

 

 



Wayne Brill
Developer Technical Services
Autodesk Developer Network