Jump to content
Martin Crawford

Worksheets in Python

Recommended Posts



def vs.CreateWSImage(worksheet, location):
    return HANDLE

from the Dev Wiki.


location is 2DPoint location on the drawing.



ws_name = "Worksheet-1" # this is an example, replace with name of your worksheet you want placed on your drawing

ws_def_handle = vs.GetObject(ws_name) # grab a handle to the worksheet definition in your resource manager
location = (0,0) # places center of drawing
ws_handle_on_dwg = vs.CreateWSImage(ws_handle, location)


Share this post

Link to post

Join the conversation


Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.


×   Your previous content has been restored.   Clear editor






  • Create New...