See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: Schedule result problem

  1. #1
    Member
    Join Date
    2002-06
    Posts
    39
    Login to Give a bone
    0

    Default Schedule result problem

    Please help. I have a schedule in which I want to show a particular property set field, conditional upon x equaling (whatever).

    This works:

    X=0
    If [DOOR-OBJECTS:TEST]=True
    Then X="test words"
    Else X="alternate words"
    RESULT=X

    Either "test words" or "alternate words" will show up in the schedule, according to the criteria.

    It also works if I use numbers instead of text.

    HOWEVER,

    If I add the actual fields as below, the formula doesn't work. (The formula is shown in the schedule, and not the result.)

    X=0
    If [DOOR-OBJECTS:TEST]=True
    Then X=[DOOR-OBJECTS:SwingDirection]
    Else X=[DOOR-OBJECTS:SwingDirection-Reverse]
    RESULT=X

    I wonder if it has something to do with the data type of the variable? I'm really not that familiar with vb scripting.

    Thanks for any suggestions,

  2. #2
    ACA/AMEP Community Chair stelthorst's Avatar
    Join Date
    2003-10
    Location
    San Francisco CA
    Posts
    1,190
    Login to Give a bone
    1

    Default Re: Schedule result problem

    Quote Originally Posted by kmelchor View Post
    Please help. I have a schedule in which I want to show a particular property set field, conditional upon x equaling (whatever).

    This works:

    X=0
    If [DOOR-OBJECTS:TEST]=True
    Then X="test words"
    Else X="alternate words"
    RESULT=X

    Either "test words" or "alternate words" will show up in the schedule, according to the criteria.

    It also works if I use numbers instead of text.

    HOWEVER,

    If I add the actual fields as below, the formula doesn't work. (The formula is shown in the schedule, and not the result.)

    X=0
    If [DOOR-OBJECTS:TEST]=True
    Then X=[DOOR-OBJECTS:SwingDirection]
    Else X=[DOOR-OBJECTS:SwingDirection-Reverse]
    RESULT=X

    I wonder if it has something to do with the data type of the variable? I'm really not that familiar with vb scripting.

    Thanks for any suggestions,
    Hi kmelchor,

    If I were a betting man (and I am) I'd say to try putting your PSD in quotations.

    X=0
    If [DOOR-OBJECTS:TEST]=True
    Then X="[DOOR-OBJECTS:SwingDirection]"
    Else X="[DOOR-OBJECTS:SwingDirection-Reverse]"
    RESULT=X

    Hope this helps,
    Scott Telthorst
    Quality Control Manager
    Helix Electric, Inc.
    www.helixelectric.com

    Some see the glass as half full, others as half empty. As an engineer I see the glass as twice as big as it needs to be. ~Unknown~

  3. #3
    All AUGI, all the time
    Join Date
    2007-10
    Location
    Tucson, Arizona
    Posts
    613
    Login to Give a bone
    1

    Default Re: Schedule result problem

    Dangit Scott,

    Every time I go to post an answer I refresh the page and guess what... here we go... another answer completely stolen by you, so I give you a mental high-five and move on with my life... but I can't do it any longer, I have to post an answer to feel like I am at least contributing something...

    (put the PSD's in quotes)

    oh, and I will usually bet on what Scott says...

    -Buzz

  4. #4
    Member
    Join Date
    2002-06
    Posts
    39
    Login to Give a bone
    0

    Talking Re: Schedule result problem

    Are you kidding me!?! I can't believe it. Works perfectly now.

    I was incredibly frustrated yesterday by that. Thanks so much!

Similar Threads

  1. 2013: Crazy rendering result... I don't understand what the problem is
    By vitaliy0001493317 in forum Revit - Rendering
    Replies: 8
    Last Post: 2015-06-03, 02:32 PM
  2. 2012: Polyline thickness problem, google has not shown any result
    By wannabe1988 in forum AutoCAD General
    Replies: 25
    Last Post: 2012-03-06, 02:46 PM
  3. Problem, Force in point: wrong result
    By smm.144 in forum Robot Structural Analysis
    Replies: 1
    Last Post: 2010-05-09, 06:51 PM
  4. Problem with the result of vlax-get-property
    By GreyHippo in forum AutoLISP
    Replies: 7
    Last Post: 2006-08-24, 07:46 PM
  5. schedule tag problem
    By jeffb.87586 in forum ACA General
    Replies: 4
    Last Post: 2005-05-19, 10:12 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
  •