Macros?

Pardon me, If I dont get the language of the DraftSight correct.
are there macros in draft Sight?
I have a new page i want to add, in both the model view, and sheets, 
That page has a title block, bottom right.
That block has a page number.

Is there a way to add new pages to the model or to the sheets, such that the page numbers are updated with the page number?
Theres a little pop up on the bottom of my screen saying Darft Sight does not support scripting. 

But I think thats not right for a couple reasons. 
1. when I copy paste data from draftSight, into inkscape, things that are vectors copy over perfect. 
    but there are other elements, that do not copy, and to me, those elements look like macros. 

2. I've been learning about AutoLISP, and it seems like that is a scripting engine.
3. Ive read briefly about DCS 
4. the scripting page: https://help.solidworks.com/2023/english/DraftSight/html/hlpid_file_macro.htm
oh sweet, when I post that link, the AI helper changed its mind scripting is supported!
Ok, well, I still dont know how to enumerate a page, or add a page such that all the pages get page numbers. 
When I add a page, I still have to go back and change every page from N of 9 to page N of 10, and so forth. 

anything which can automate the drafting process will be welcome information. I am still very new to autoLISP.

I tried getting AI to assist, it said put everything into an Entity Group. I did that, My computer turned into a Jet, and DraftSight Froze. AI hasnt had the best advice for draftsight either. 
Go to Model.

  1. Hit Esc until no command is active.
  2. Select everything belonging to your newly pasted sheet.
  3. With those objects selected, right-click.
  4. Choose Entity Group → Quick Group.

DraftSight calls this QuickGroup; an EntityGroup is specifically meant to make multiple entities behave as one selection for operations like Move, Rotate, and Scale. SOLIDWORKS Web Help

Verify it actually grouped

Click empty space to deselect everything. <---it doesnt do that. But I typed Yes in the command prompt and it says it is grouped,  but then none of the other directions make sense.

Then click one line belonging to the new sheet.

If the grouping worked, the whole sheet should highlight/select, not just that one line. SOLIDWORKS Web Help

If you don't have the right-click entry, use the menus:

Tools → Entity Group → Quick Group

Then select all the sheet objects and press Enter

so now my objects are grouped I guess. when I try to click on anything it brings up this Cycling Section, where its basically cycling through every vector in the drawing?

Its not even that this cant be right., DS is counter intuitive AF, but IDK lets say I select some vector? then what? there no flow, no logical series of events I can imagine where doing anything from here would lead to a desired result. 

If there is an easier way to update all my page numbers I surely want to know. 

 


Version: 2025 Enterprise. 

Answers 0