12-04-2023
07:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-04-2023
07:12 AM
I would caution the use of change and even more so if your a beginner. It really comes up with code that does not exist in the Inventor API. Instead stick with published sources such as the API Help.
For example this loop right here will go no where because there is no such object as textformats and nothing even related inside the sketch object shown here. Maybe it was intending to use text boxes.
For Each TextFormat As TextFormat In titleBlockDef.Sketches.Item("Schriftfeld").TextFormats
I am not entirely sure what your intending to do by your description of the worklfow so maybe can you provide an image of your intended changes?
Also changing items in a titleblock is not best practice as you would normally change the titleblock to a custom one and simply swap that.
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan
Or if this helped you, please, click (like)
Regards
Alan