ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

new viewports ?

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
282 Views, 2 Replies

new viewports ?

how can I change the current viewport organisation in order to display
vertical views ? I tried the acad command _-vports but it creates the
views into the current one...
does someone have an idea ?

thanks for any help.

David.
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

> how can I change the current viewport organisation in order to display
> vertical views ? I tried the acad command _-vports but it creates the
> views into the current one...
> does someone have an idea ?
>
> thanks for any help.
>
> David.
>
I tried to create the viewports with the code provided by Gary Glass in a previous post...

but I need to perform this into the model space not into the paper space...the _-vports

command answers to my needs but I didn't manage to call it with "acedCmd" nor "acedCommand"...

the goal of this is to divide the screen in two views (maybe three but
later).
thanks for any help..

David.
Message 3 of 3
Anonymous
in reply to: Anonymous

That code I posted will work in Model Space just change the following in the
code
from
if(pTable->getAt("*PAPER_SPACE", pRec, AcDb::kForWrite) == Acad::eOk)
to
if(pTable->getAt("*MODEL_SPACE", pRec, AcDb::kForWrite) == Acad::eOk)
"david gemelli" wrote in message
news:3D00C2A3.8080304@xlstudio.com...
>
> > how can I change the current viewport organisation in order to display
> > vertical views ? I tried the acad command _-vports but it creates the
> > views into the current one...
> > does someone have an idea ?
> >
> > thanks for any help.
> >
> > David.
> >
> I tried to create the viewports with the code provided by Gary Glass in a
previous post...
>
> but I need to perform this into the model space not into the paper
space...the _-vports
>
> command answers to my needs but I didn't manage to call it with "acedCmd"
nor "acedCommand"...
>
> the goal of this is to divide the screen in two views (maybe three but
> later).
> thanks for any help..
>
> David.
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta