Error: AutoCAD variable setting rejected: "cvport" 2

Discussion in 'AutoCAD' started by Fred Clark, Aug 19, 2004.

  1. Fred Clark

    Fred Clark Guest

    Help,
    Why can't I set this viewport as active?

    Command: (entget(car(entsel)))
    Select object: ((-1 . <Entity name: 7ef5f968>) (0 . "VIEWPORT") (330 .
    <Entity
    name: 7ef5f8d0>) (5 . "3AD") (100 . "AcDbEntity") (67 . 1) (410 .
    "e31b") (8 .
    "0-MVEW") (100 . "AcDbViewport") (10 19.0483 17.2356 0.0) (40 . 26.367)
    (41 .
    20.1676) (68 . 2) (69 . 2) (12 81738.2 4247.19 0.0) (13 0.0 0.0 0.0) (14
    24.0
    24.0 0.0) (15 48.0 48.0 0.0) (16 0.0 0.0 1.0) (17 0.0 0.0 0.0) (42 .
    50.0) (43
    .. 0.0) (44 . 0.0) (45 . 1936.09) (50 . 0.0) (51 . 0.0) (72 . 1000) (331 .
    <Entity name: 7ef62278>) (90 . 49152) (281 . 0) (71 . 1) (74 . 0) (110
    0.0 0.0
    0.0) (111 1.0 0.0 0.0) (112 0.0 1.0 0.0) (79 . 0) (146 . 0.0) (170 . 0))

    Command: (setvar "cvport" 2)
    ; error: AutoCAD variable setting rejected: "cvport" 2
     
    Fred Clark, Aug 19, 2004
    #1
  2. Fred Clark

    Paul Turvill Guest

    Try
    (command "_.mspace")(setvar "cvport" 2)
    ___
     
    Paul Turvill, Aug 19, 2004
    #2
  3. Fred Clark

    Fred Clark Guest

    That worked, Thanks...

     
    Fred Clark, Aug 19, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.