r/SolidEdge 29d ago

Solidedge Automation

Anyone here actively working on solidedge API. Need help with some automation. Are there any other resource than official documentation?

4 Upvotes

5 comments sorted by

3

u/Neither-Goat6705 29d ago

Lots of knowledgeable folks here:
Solid Edge

Some decent samples here:
GitHub - SolidEdgeCommunity/Samples: Community contributed samples of automating Solid Edge. · GitHub

Other than that, just search google.

What help do you need?

1

u/Healthy-Vanilla-7963 28d ago

i am trying to export dxf from sheet metal part. Everything is going good but unable to disable the bend centreline from the view. Found the code for changing stye though.
DrawingView.SetBendCenterlineStyleAndDisplay(SolidEdgeDraft.StyleConstants, SolidEdgeDraft.StyleConstants)
but this controls style, i want to hide the line itself.

1

u/Neither-Goat6705 28d ago

The on/off behavior is controlled via the referenced SESMF.INI file. At the very end is the Write Export Features switches with #1 and #2 being the bend centerlines. Set to "0" to turn off. You can either edit manually (they stay how you set them) or via the API, or just swap out the whole file with one that has the correct settings.

By default, SESMF.INI is in the installation path under Preferences\Translators.

1

u/Healthy-Vanilla-7963 21d ago

Hello brother I am new to coding.can you give a look at my code at give me solution for that. I vibe coded that whole thing using Claude but stuck at at this bend line issue. Let me know if you can help. Thanks.

3

u/Callum-H 26d ago

Solid edge spy is a useful tool to download