• Posts

  • Joined

  • Last visited


2 Neutral

About TimSchrock

  • Birthday 01/11/1976

Profile Information

  • Gender
  • Location
    Lebanon, IN

Recent Profile Visitors

1523 profile views
  1. Are there Chief users local to the North side of Indianapolis looking for a full-time position? This position is for a behind-the-scenes, drafts person and project coordination position. We’re looking for a full-time, W2 employee, some days might be remote but not looking for a sub-contracting relationship, so please don’t send info if you want to keep it as a sub-contractor relationship. We can talk if you’re going to transition from sub to W2 in a short time. Need to be willing to learn, work in a team environment, use Chief, Excel, Word. Looking to learn good design? Want to play with Chief for pay? Feel fulfilled by giving clients their dreams? Contact me!
  2. I was hoping that I could create a cabinet door and drawer library each with their individual pricing guidelines. In my catalog a certain group of doors and drawers are standard, another group has a specific $$ deduct and the final group has a specific $$ addition to the price of the cabinet. So, I thought, if I'm adding door style XYZ to my cabinet, and that door object in the library has a cost of $55/door, then, the door would be listed for the proper pricing in the materials list. But no. It seems that the pricing from the door object in the library doesn't get transferred to the cabinet component pricing. If I place the door in the plan as a separate item (not attached to a cabinet), the pricing is present in the materials list as it should be, but it's a separate line, not "attached" to a cabinet sub line-item. Am I missing something? Is it possible thru macros or a minor setting?
  3. Nevermind. I found it. I'd forgotten that I had adjusted the cabinet width to include a fraction and the lookup was throwing the error. Now, to manage the custom widths... I am curious, though, how far you'd gotten on the project.
  4. @MarkMc I've been working on a CSV lookup as well, and things were going great while I was testing hard-coded numbers, then I tried to grab the width & height of the cabinet, and it seems when changing to a Material List, the object links may be broken. I can import the CSV table, parse it, look up a hard-coded width and height, and pull the correct price. Have you had any luck with this yet? I've tried to evaluate based on Owner Object, Referenced Object, and Materials List Line Item, and still get "Evaluation Error".
  5. @Alaskan_Son, I was following your global variable thought from a previous post, and I have a question re: global variables. I found if I set the variable %$Client_Name = "Bill & Nancy"% then that variable is set across any and ALL files that I have open, until I set the variable again within a specific file. Otherwise, the a textbox with the variable %$Client_Name% will just reflect the set value of the last file I looked at. Correct?
  6. Thanks @Alaskan_Son, I was just finding some other posts that basically stated that we can't access the client or designer info. Kinda a bummer. I guess this is why the "Global Variables" disappears when I check the "evaluate" box? They're just not accessible.
  7. I'm back at it again...Ideas for Ruby macros. I want to use the Layout client info to enter my title block information (I've got that set up) and then since I have the state entered as the two-letter abbreviation, I figure the general notes could recognize that data and spell out the state's name ("PROJECT TO BE BUILT ACCORDING TO THE BUILDING CODE OF THE STATE OF xxx"). I'm struggling trying to find the object to reference for %client.state%. If I do NOT evaluate, I can enter %client.state% and return the same IN but cannot perform any functions on it. When I change the macro to evaluated and "Referenced Object" I can enter "%client.state%" (with quotes) and return IN. But then I want to pass that to a hash to show INDIANA so I set up my hash array and pass states["%client.state"] only to get evaluation error. Here is my hash setup currently... states = { "IN" => "Indiana", "VA" => "Virginia", "MD" => "Maryland", "MA" => "Massachusetts", "DC" => "District of Columbia" } states["IN"] will see Indiana states[%client.state%] will see evaluation error states["%client.state%"] will see evaluation error Is there a place that I can find the objects or hooks that a file has and what class the instances will return? I'm assuming the %client.state% will return a string, but it almost doesn't act that way since I have to put quotes around %client.state% in the macro just to pass the info to the text box.
  8. I solved it! Enter this into the label or code (under the "Object Information) box: %automatic_label%%has_stile_between_double_doors == false ? (num_doors.to_f > 1 ? '-BT' : '') : ''%
  9. I'm actually decent at programming languages, but the Ruby tutorials I've found aren't geared toward Chief and talk about local, class, instance, and global variables, of which I can't figure out how that connects to Chief. Can you point to tutorials of Ruby within Chief?
  10. I've tried this in a macro I call %ButtDoors% - has_stile_between_double_doors.to_s = 'true' ? (num_doors = 2 ? '' : '-BT') It only returns that very same text when I place %ButtDoors% in the text box
  11. @solver or @Alaskan_Son, I'm on a mission to get some cabinetry codes working with Ruby. I see a property that is "has_stile_between_double_doors" (TrueClass) and a property that is "num_doors" (Integer). If num_doors = 2 and has_style_between_double_doors is false, I want to add "-BT" to the code.
  12. I updated my signature after OP, but it still shows X11 here. odd..... Anyway, the real reason for replying is that the code worked! Can I beg another question? What does it mean? I had the %width% working - it showed the accurate width. What is the "width.to_s.to_i" and "width.to_f" doing? convert "to string" and "to integer"? Not sure what to guess on "to_f".
  13. Whoops. No. Signature is out of date. Using X12.