Results 1 to 2 of 2

Thread: VBA callt to CHSPACE in Acad2015

  1. #1
    Member
    Join Date
    2007-05
    Location
    Portland OR
    Posts
    4
    Login to Give a bone
    0

    Default VBA callt to CHSPACE in Acad2015

    I have a code snippet that creates a pline and a dimension in model space, then switches to paperspace. It then uses the CHSPACE command to bring the dimension through the paperspace viewport into paperspace. It works fine in AutoCAD 2004 and 2010, but does not work in 2015. In 2015 it seems to hit an endless loop prompting the user to active the viewport. Help?
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    2007-05
    Location
    Portland OR
    Posts
    4
    Login to Give a bone
    0

    Default Re: VBA callt to CHSPACE in Acad2015

    I wanted to update this post, the wonderful Dev folks at Autodesk gave me the answer.

    Replace this line:
    ThisDrawing.SendCommand "CHSPACE Crossing 0.2,0.2,0 6,5,0 "

    With this:
    ThisDrawing.PostCommand "CHSPACE Crossing 0.2,0.2,0 6,5,0 "

    And now everything works as it should

Similar Threads

  1. CHSPACE help needed with Dimscale
    By lorne.bourdo.152516 in forum ACA General
    Replies: 1
    Last Post: 2012-08-08, 03:58 PM
  2. CHSPACE command irritation
    By beardking in forum AutoCAD General
    Replies: 4
    Last Post: 2011-09-27, 11:48 AM
  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

Tags for this Thread

Posting Permissions

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