1 Answers
A:
Yes, you can edit the text inside a sketch used by an Emboss feature via the Inventor API — and there’s a clean way to do it programmatically.
Sample VB.NET / VBA Code
Dim oPartDoc As PartDocument = ThisApplication.ActiveDocument
Dim oCompDef As PartComponentDefinition = oPartDoc.ComponentDefinition
For Each oEmboss As EmbossFeature In oCompDef.Features.EmbossFeatures
Dim oSketch As PlanarSketch = oEmboss.Profile.Parent
For Each oTextBox As TextBox In oSketch.TextBoxes
Debug.Print "Original Text: " & oTextBox.Text
oTextBox.Text = "Updated Text Here"
Next
Next
This:
Find the Best CAD Software
Explore all products with features, pricing, reviews and more
View All SoftwareHelp the community
Be the First to Answer these questions
Disclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers