WORKING WITH LAYOUT AND MODEL SPACE USING VBA

WORKING WITH LAYOUT AND MODEL SPACE USING VBA

Anonymous
Not applicable
2,385 Views
1 Reply
Message 1 of 2

WORKING WITH LAYOUT AND MODEL SPACE USING VBA

Anonymous
Not applicable

I have my client border in layout space and drawings in model space. I need to bring  the drawings in model to layout space using vba. If anyone knows please help me.

 

 

0 Likes
2,386 Views
1 Reply
Reply (1)
Message 2 of 2

grobnik
Collaborator
Collaborator

Hi @Anonymous Probably I don't understand well the question but by VBA you can have access to Model Space or Paper Space with:

Thisdrawing.modelspace

 

or 

 

Thisdrawing.paperspace

 

Of course if you need to create in paperspace (layout) some views of modelspace drawing you should create viewport inside layout area, of course I guess also by VBA.

But first of all you should have clear what of modelspace shall be viewed in layout, then you can fix coordinates, scale and so on.