Is it difficult to write a macro to have a hatch on a sectioned part change properties (Hatch Pattern, Hatch pattern Scale, Layer)?
I looked around and can't find anyone ever doing that.
Any help will be greatly appreciated.
Have a look at the following example from API help: 2018 SOLIDWORKS API Help - Get Area Hatch Data Example (VBA)
But if I understand it correctly, this macro is for hatching a face.
What I am looking for is to change an already existing hatch.
Thank you anyways
The example gives you an idea of ISketchHatch interface. You can then user its properties to set pattern, scale and layer. Have a look at 2018 SOLIDWORKS API Help - ISketchHatch Interface Members.
Hope this helps.
Retrieving data ...