See the top rated post in this thread. Click here

Page 4 of 5 FirstFirst 12345 LastLast
Results 31 to 40 of 45

Thread: test if level exists

  1. #31
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: test if level exists

    Ok, thanks to help from you guys it's ready to go! It still doesn't handle stacked walls great, it basically skips them and warns the user that it's doing it, but the pieces show up. Interestingly, they show up twice; once as a wall and once as a curtain panel. Either way, it doesn't create an error anymore and the program continues normally and all elements can still be selected. I also tested it on a large project and it seems to work well, albeit slow if there are really a lot of elements.

    So Guy let me know what ADN says, but in the mean time, THANKS TO BOTH OF YOU!

  2. #32
    Active Member
    Join Date
    2015-10
    Location
    Escondido, CA
    Posts
    91
    Login to Give a bone
    0

    Default Re: test if level exists

    Congrats on getting it working Steve. Guy seems to be the expert around here, but I'm glad if I was able to help you out. It's fun stuff.

  3. #33
    AUGI Addict
    Join Date
    2003-11
    Location
    New Zealand
    Posts
    1,116
    Login to Give a bone
    0

    Default Re: test if level exists

    Quote Originally Posted by Elizabeth Shulok View Post
    Guy seems to be the expert around here, but I'm glad if I was able to help you out. It's fun stuff.
    I'm no expert, the experts are the x number of uber programmers sitting in the Factory. The more the merrier. And nice to see Steve sharing the command and the source. Everyone learns when the source is available.

    Guy

  4. #34
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: test if level exists

    Thanks I'm excited, it's the first thing I've been able to create that's actually useful with my newfound programming "knowledge" . As far as sharing, no problem. You guys practically wrote about half of it anyway. Speaking of which, here is the final working code with the stacked wall updates.
    Attached Files Attached Files

  5. #35
    AUGI Addict
    Join Date
    2003-11
    Location
    New Zealand
    Posts
    1,116
    Login to Give a bone
    0

    Default Re: test if level exists

    Quote Originally Posted by GuyR View Post
    I'll file it with ADN and see what they say.
    Yep, it's a bug in the API. Issue is logged.

    Guy

  6. #36
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: test if level exists

    ok, well good that they're aware of it. Let me know if there are any updates...

  7. #37
    I could stop if I wanted to
    Join Date
    2007-08
    Posts
    322
    Login to Give a bone
    0

    Default Re: test if level exists

    Steve,

    I cant seem to get this to work with 09. Is there something that I need to change or do you have an update?

    thanks,

    Nick

  8. #38
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: test if level exists

    I just plugged in the ini info in 2009 and it seemed to work, what issues are you having?

  9. #39
    I could stop if I wanted to
    Join Date
    2007-08
    Posts
    322
    Login to Give a bone
    0

    Red face Re: test if level exists

    Quote Originally Posted by sfaust View Post
    I just plugged in the ini info in 2009 and it seemed to work, what issues are you having?
    Just figured it out. I had the ECClassName set to 1 by accident.

    thanks

    Nick

  10. #40
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: test if level exists

    Glad it was that because I wasn't going to know where to start looking for the error .

    BTW, GuyR, do you know if they fixed the error in the stacked walls for 2009? If so, I could take that part out of the code...

Page 4 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. 2015: FAMILY ALREADY EXISTS
    By gordolake in forum Revit Architecture - General
    Replies: 2
    Last Post: 2014-08-26, 11:29 PM
  2. How to Find a Layer if It Exists?
    By BeKirra in forum AutoLISP
    Replies: 12
    Last Post: 2008-11-06, 01:25 AM
  3. napkin sketch still exists???
    By ccook.135811 in forum ACA General
    Replies: 1
    Last Post: 2007-10-16, 03:38 PM
  4. Check to see if file exists
    By ccowgill in forum AutoLISP
    Replies: 11
    Last Post: 2006-04-10, 09:12 AM
  5. Skill Level Test
    By pgastelum77763 in forum Training
    Replies: 7
    Last Post: 2005-08-17, 04:42 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
  •