Results 1 to 3 of 3

Thread: CHSPACE error

  1. #1
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default CHSPACE error

    Here is a code that transfer entities ent, ent2, and ent3 to model space

    Code:
    (vl-cmdf "_.chspace" ent ent2 ent3 "")
    When there is no viewports available or active i receive this response from autocad at the command line, "There are no active Model space viewports
    <Entity name: FFA0B3F0>", for every object it attempts to chspace for.

    How can I make it show it only once. Then exit quietly from the program.

  2. #2
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default Re: CHSPACE error

    Also when i chspace a hidden linetype "polyline"...the hidden linetype doesn't show correctly in model space...

    Anyone know why, and how to fix it?

  3. #3
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    0

    Default Re: CHSPACE error

    Quote Originally Posted by mbrandt5 View Post
    Also when i chspace a hidden linetype "polyline"...the hidden linetype doesn't show correctly in model space...

    Anyone know why, and how to fix it?
    Test TILEMODE to see if you're on a layout then CVPORT to see if you're in paper space. Try Mspace and check CVPORT again, if you're still in paper space "There are no active Model space viewports". Otherwize run your code.

    Set PSLTSCALE to 1 if you want linework to show the same in both paper & model space.

Similar Threads

  1. VBA callt to CHSPACE in Acad2015
    By mary_west_pdx in forum VBA/COM Interop
    Replies: 1
    Last Post: 2015-02-24, 03:58 PM
  2. CHSPACE help needed with Dimscale
    By lorne.bourdo.152516 in forum ACA General
    Replies: 1
    Last Post: 2012-08-08, 03:58 PM
  3. 2011: Chspace with spline
    By lesleys in forum AutoCAD General
    Replies: 4
    Last Post: 2011-03-08, 04:46 PM
  4. Chspace: Built-in A2K9?
    By Firmso in forum AutoCAD General
    Replies: 2
    Last Post: 2008-04-02, 02:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •