Results 1 to 8 of 8

Thread: Where is Floating Model Space Cannoscale value stored in Object Model?

  1. #1
    Member
    Join Date
    2000-11
    Location
    Roanoke, Va.
    Posts
    28
    Login to Give a bone
    0

    Default Where is Floating Model Space Cannoscale value stored in Object Model?

    I have a need to check/set floating model space's cannoscalevalue. Is the only way to get it by tiling to floating model space and then using getvar/setvar, or is it stored somewhere in the object model? Setting it is not really a problem, but checking it would be nice so my drawing setup programs do not have to tile back and forth every time a drawing is opened. Any one found it's hiding place?

  2. #2
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,525
    Login to Give a bone
    0

    Default Re: Where is Floating Model Space Cannoscale value stored in Object Model?

    Quote Originally Posted by pcs View Post
    I have a need to check/set floating model space's cannoscalevalue. Is the only way to get it by tiling to floating model space and then using getvar/setvar, or is it stored somewhere in the object model? Setting it is not really a problem, but checking it would be nice so my drawing setup programs do not have to tile back and forth every time a drawing is opened. Any one found it's hiding place?
    cannoscale? is this a 2008 thing?

  3. #3
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,174
    Login to Give a bone
    0

    Default Re: Where is Floating Model Space Cannoscale value stored in Object Model?

    It's hiding.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  4. #4
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Iron Station, NC
    Posts
    3,198
    Login to Give a bone
    0

    Default Re: Where is Floating Model Space Cannoscale value stored in Object Model?

    Quote Originally Posted by Opie View Post
    It's hiding.
    yes, its hiding, but it only allows you to read the scale, dont try to change it using that code, it will really screw some stuff up (speaking from experience)

  5. #5
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,174
    Login to Give a bone
    0

    Default Re: Where is Floating Model Space Cannoscale value stored in Object Model?

    Quote Originally Posted by ccowgill View Post
    yes, its hiding, but it only allows you to read the scale, dont try to change it using that code, it will really screw some stuff up (speaking from experience)
    I removed the code I had posted. I have not figured out how to modify that dxf code to associate with the proper scale.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  6. #6
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Iron Station, NC
    Posts
    3,198
    Login to Give a bone
    0

    Default Re: Where is Floating Model Space Cannoscale value stored in Object Model?

    Quote Originally Posted by Opie View Post
    I removed the code I had posted. I have not figured out how to modify that dxf code to associate with the proper scale.
    Its not just your code, I used Tim's to write my own that did what yours did (reverse engineering) and it failed just like yours, so I am more along the lines of recommending not to reverse Tim's code to modify the cannoscale. speaking of which, if you can get your program to make a viewport current automatically, why cant you use the setvar command to modify the current viewport's cannoscale?

  7. #7
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,174
    Login to Give a bone
    0

    Default Re: Where is Floating Model Space Cannoscale value stored in Object Model?

    Quote Originally Posted by ccowgill View Post
    Its not just your code, I used Tim's to write my own that did what yours did (reverse engineering) and it failed just like yours, so I am more along the lines of recommending not to reverse Tim's code to modify the cannoscale. speaking of which, if you can get your program to make a viewport current automatically, why cant you use the setvar command to modify the current viewport's cannoscale?
    I have no idea. I'm still trying to figure out why I can't modify the entity list for the viewport.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  8. #8
    Member
    Join Date
    2000-11
    Location
    Roanoke, Va.
    Posts
    28
    Login to Give a bone
    0

    Default Re: Where is Floating Model Space Cannoscale value stored in Object Model?

    Thanks for answering. The code you linked to works for a viewport, not floating modelspace. I need the cannoscale value for floating modelspace. I tried adapting the code to check for the modelspace object, but the value isn't stored there in the same way.

Similar Threads

  1. Replies: 2
    Last Post: 2014-02-18, 01:25 AM
  2. Replies: 0
    Last Post: 2011-10-21, 06:44 PM
  3. Linking Fields - Paper space to Model Space Object
    By red2002yzfr1 in forum ACA General
    Replies: 2
    Last Post: 2010-03-23, 12:02 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
  •