Viewport Clipping Planes

Viewport Clipping Planes

Anonymous
Not applicable
479 Views
2 Replies
Message 1 of 3

Viewport Clipping Planes

Anonymous
Not applicable
Does anybody know how to create Front and Back clipping planes, and turn
them both on, for views in a new paperspace viewport, using VBA?? I know how
to do this via Autocad commands, "Dview", set your target/direction(POints)
and then "CLip" front and back. I just cant work out how to do this in code.
Please Help.
0 Likes
480 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
A-Yo wrote:
> Does anybody know how to create Front and Back clipping planes, and
> turn them both on, for views in a new paperspace viewport, using
> VBA?? I know how to do this via Autocad commands, "Dview", set your
> target/direction(POints) and then "CLip" front and back. I just cant
> work out how to do this in code. Please Help.

VBA cannot do this alone unless you find a way to do it with
SendCommand.

--
This space intentionally left blank.
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks Frank

The SendCommand does the job, I also found that the Xdata of the viewport
controls the front and back clipping plane and turns them on and off, But I
cant seem to work out how to modify the xdata associated with the viewport.
I can modify Xdata that was created by me but not by AutoCAD is this the
case?

A

"Frank Oquendo" wrote in message
news:B013F0C4254E431846591C0DF3173365@in.WebX.maYIadrTaRb...
> A-Yo wrote:
> > Does anybody know how to create Front and Back clipping planes, and
> > turn them both on, for views in a new paperspace viewport, using
> > VBA?? I know how to do this via Autocad commands, "Dview", set your
> > target/direction(POints) and then "CLip" front and back. I just cant
> > work out how to do this in code. Please Help.
>
> VBA cannot do this alone unless you find a way to do it with
> SendCommand.
>
> --
> This space intentionally left blank.
>
>
0 Likes