Draftsight Script for Crosshatching

Hi all

 

I'm new to Draftsight and I'm trying to make a script to make some drawings automatically. 
My problem is that I can't fill the objects with the code without opening the window of the _hatch options.

Does anyone know the code (script) that you have to put in to make a "solid" fill of an object?

Thank you for your help

 

Gustavo.

Hello

 

He has the option 

DisplayDialogsDetermines whether dialog boxes appear when you need to specify a file name

 which we can put at no, but unfortunately, it doesn't change anything... You need to upgrade to the paid version of DratSight to do this and get access to APIs and macros.

 

Reminder of my available tutorials:

 - Switching from Autocad to DraftSight

 

 - DraftSight and AutoCAD commands (useful for LISP)

 

Hello

Thank you anyway for the answer, but finally I found my good guy.

All you have to do is use the command preceded by a pull of 6.

-h

This allows you to see all the other options without displaying the dialog box. So to do my filling I used:

-h m s 1.1  

 

Of which m = pattern, s=solid, 1,1=a point inside my figure in sequence there are 2 spaces and that's it.