How to Open Hatch Seeting Window

I am currently developing a plugin with texture fill functionality. I need to set the hatch before selecting a curve. However, I cannot find the API to open the hatch window in Rhinocommon. Can anyone help me with this?

@Trav - is this something you can help with?

I’m not sure I’ve interpreted your request completely. Can you tell me more about what you’re trying to do? You can make hatches by calling Hatch.Create however if your goal is to just open the hatch dialog then you’ll need to call the hatch command via RunScript.

I need to fill textures for different closed curves based on preset Tags. Since geometry might not have been created yet during texture setup, I can’t select curves when using the runscript command to execute hatch, thus unable to open the hatch dialog

How can I open the hatch panel and save hatch settings without creating any closed curves? That’s my issue

There’s no way to configure the hatch dialog via any scripting or API. However you should be able to script hatch creation by selecting your curves and running hatch. If you need help with getting the curves selected please share some code and we can try to suggest some options.

Thank you for your advice. I have decided to try other methods to solve this problem