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

Hi @b.mccarthy 

That line there is looking for the second 3d sketch as per the OP setup. If you have only one sketch change the index to 1.

Sketch = oDoc.ComponentDefinition.Sketches3D(1)

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan