MarkMc

Members
  • Posts

    4241
  • Joined

Everything posted by MarkMc

  1. Just use a cabinet with drawer, slab front, change handle and material. IF you need a thicker drawer front make a custom door symbol with depth you want and set the Y (depth) outside the object say to 10" to prevent resize.
  2. Standard rail defined as panels-change material.
  3. File, import defaults, navigate to a plan file that has the defaults you want. Hotkey, annotation sets, layer sets are all export from one then import to another. All listed in help and reference manual BTW. Preferences I don't know other than redoing but may be a way. Toolbars are a matter of copying files AFAIK-check KB articles.
  4. There is a 12 x 24 carrara in the Cactus catalog-Tile-Lithoverde Bianco Carrara I too often just make tiles textures, usually with psolids in Chief, then to a photo program.
  5. At some point your scrolled in Just scroll out and move if needed
  6. post the plan or a stripped down one that shows the issue. be sure to close the plan before uploading it. Hurry and I'll look before siesta.
  7. Have no idea why it would be greyed out if you are using Premier-I can get it in any type of view. if you have the Interiors version it is not available
  8. Yabadabadoo- Thanks that works fine. Thanks so much. I have no idea why it didn't work for me last night, tried it six ways to Sunday when after you posted-must have been pilot/syntax error or such, was at it for 10 hours by then and had written at least 3 dozen versions prior to posting-on a good day I struggle with this. Your guess is correct-I now have to define where to find what to match and the lookup then formatting that result with extra determiners for output so columns sort properly in spreadsheet. Baby steps... WOW- I was just about to ask to see if this would work on a Mac so copied the macro and eliminated gsub. It still works on Windows without the substitution!! I don't know why I could not get the originals to read without changing the slashes and I'd seen several complaints about folks having to do that on stackoverflow (where I understand very little). This is great. I'm guessing it's because you have the file open in there instead of just read?
  9. Please include a signature (folks have posted how in lots of threads) with version you are using and hardware info. And it is far better to post image files than PDFs please. To get dimensions to framing you need a CAD detail - IF using premier generate in Chief with "detail from view"; IF a lesser version you will need to export a view as dwg and then import it into a cad detail. NOTE withe either it will no longer be "live" changes to the model will not show up in the detail so this is typically done at the very end of a project unless you need custom pricing. Prior to generating the CAD you will want the view to only include cabinets and NOT include doors or drawers. IF you have several cabinets side by side that you need to detail then need to choose. Either once the detail is generated move them to create separation between (keep in ind that now they are a bunch of lines and not a single object so a real PIA) not my first choice Have cabinets on different layers so you can turn some off to create gaps between them. On a good day the cabinets that need detail are already separated by ones that don't so only one extra layer works-otherwise multiples. Advantage is this will always match the live model and can be blocked and pasted back into the plan using hold position to see if it needs to be redone OR to include those dimensions in a live drawing final choice is to copy the cabinets to another room, plan or wall- this is perhaps the easiest way BUT they will no longer allow you to check against the model.
  10. I wanted to avoid the scripts directory if possible to keep it simpler for end user. Re: File.read ($LOAD_PATH[0] +"test_1.txt") That makes the path problem easier and likely simplifies the cross platform issues AND it works within the macro. HOWEVER IF I place the file location or name into an OIP field and try to get that data into a macro that reads the file it has the same problems I ran into already. The problem is that while the OIP field output looks correct -be it a correctly formatted path OR any variation I can come up of ($LOAD_PATH[0] +"test_1.txt") I don't know how to include the output from the field or another macro into a "File.read" statement. Since the text file can change on a regular basis AND I don't want end users changing code I want to be able to place the text file in an OIP field. Here's what I'm trying to do- The short answer This is for the cabinet pricng system I started last summer. I looked for ways to simplify it for the end user (I don’t need it myself but promised it to some folks). The purpose is to generate quick ball park pricing. Data goes to schedule which is copied to spreadhseet template. Final pricing can be done with some manipulation of the spreadsheet or copying from the sheet to an on line ordering system. How-user places files somewhere on system (there will be multiple files), defines file in OIP field, macro looks up pricing for cabinet, output to schedule, copy schedule info to a spreadsheet template. Limit what a user needs to do or not No altering code Generate text files and place somewhere they understand Enter data in OIP fields in cabinet DBX or defaults Occasionally add price into an OIP filed for a cabinet not included in files (but can be in library) Process-temporarily remove columns from schedule, copy, paste into spreadsheet template, undo to restore shedule fields (be nice if two schedules could have user defined numbering in sync..) For brands that use style/species pricing instead of columns enter those prices in sheet (could be in the spreadsheet template) Considerations The typical end user is used to other software for cabinet pricing where you install a catalog, select price category from a drop down list, click report, done. At the same time I have to deal with my limitations with Ruby and avoid as many pitfalls for end user as I can. OTOH I’m not interested in this being everything possible A typical kitchen dealer will carry between 3 and 6 brands, some of those could have 2 to 4 lines with different pricing. More than half of the cabinet brands out there use groups for pricing (A,B,C,D…) The pricing changes annually. All that can make for either large complicated files (and macro) or a lot of files. To that end- Text files will include only the most common cabinet styles and prices. Text files will be limited to a single price group and only the most sold groups included (ROI for included something that is sold once a year or less is lousy) For rarely sold categories get out your pencil. (hey, I’ve been getting prices out of CA for 5 years without it and could have done twice all those cabinet orders in the less time than spent on this )
  11. Thanks Eric but I'm not getting anywhere and been at this all day- Did you open the file I posted? already had gsub written. I'll pick this up again tomorrow, fried, thanks again
  12. Ok so I got that to work so long as I add the extra slashes and quotes manually. Note that above I list a statement with File.read ("C:/somewhere/doc.text") that also reads when I do it manually. So I have two ways to MANUALLY alter a path and get it to read. However if I go and write something to automatically add the extra slashes and the quotes I'm pretty sure I'm going to end up with the same problem. How do I use the result to read? I want to have it so someone can paste a path into the Supplier field and have it read properly without user needing to adjust the path statement.
  13. I still don't see how to make that work even if I don't use the macro- tried this after making a new text file, copying the path and pasting get error- f=C:\\Users\mark\Documents\A_Current\test new.txt fh=open f a=fh.read fh.close a are you saying to add this file as an rb to the scripts folder? prefer not to go there for this.
  14. Glen I just realized that I didn't include the file so naturally you get an error for the read macro. I think to find out if this works on both I first have to get the longer macro to read on windows. Then will try posting something again, thanks.
  15. Eric- I can read a file with a path as in For that I changed the backslashes to forward before placing in the macro-that is a nogo in the long run. What I can't get to read is when I generate the altered path within the macro. Tried more than a few variations. If what you post will work I don't understand how to use it and utilize the altered path in the result shown.
  16. Your answer in the other post was what I needed, thanks.
  17. Thanks Glen, was afraid that would happen. Guess I either have to add some code or write a version specific to a Mac. That latter is easier for me but I'm going to be giving this away and may be confusing for others, and I guess it's better if it worked either way. Guess I have to check to see if Ruby in Chief can understand what OS it's on.
  18. On the material property panel (in reference manual) "Diffuse controls the degree to which the material’s main color contributes to its appearance" Diffuse is typically set to 100% so unlikely to help. Use a lighter color or a different base material. If you can't be what you want that way then it's photoshop time.
  19. I can read a file using- File.read ("D:/Mark/Documents/_ Current Kit/ _Price/test_1.csv") works once backslashes are changed to forward -requires parenthesis and quote So I copy and paste a path statemtent into an OIP filed (using supplier) and then use a macro to change the slashes and add parenthesis and quotes that works fine using- #first reads the file from the Supplier field in the cabinet DBX, then it changes the back slashes to forward slashes so Ruby can use it myFile= owner.supplier.gsub(/\\/,'/') # next need to parenthesis and quotes for the file to be found -looks like ("C:/some file...") path= ('("')+myFile+('")') I've tried a few variations on that which also work then I'm trying to read that file. question is once I have that result how can I get Ruby to read the file? Also if someone on a Mac can open the program and let me know if you get the same results as the posted image please? macro test.plan
  20. Working on a macro that accesses a file and Ruby wants path statement to have forward slashes while Windows uses back slashes. I'm under the impression that Macs are Unix based so if one were to copy a path statement on a Mac it would already have forward slashes-Is that correct? Secondly is it easy enough to copy a files path statement on a Mac? I know how to do it on Windows, just trying to cover bases for other users.
  21. Already described above. If molding doesn't match change it in the cabinet DBX or place a new cabinet and configure it to match the one posted.
  22. I use molding polylines instead of having them as part of the cabinet for this and a few other reasons. To get the valance to accept cabinet defined molding you need a cabinet. Place valance in a blank plan, convert to symbol, cabinet door. Then use that on a cabinet defined as in the attached. Just noticed you are on X9- sorry but the plan is in X10. Cabinet _box construction framed, separation 0" Front of cabinet is side panel inset and uses the valance. Sides and back are defined as openings. Valance Plan.plan
  23. Not being coy, this is pretty basic so I'd suggest you read a little, it will be more useful in the long run. Open the cabinet, go to front,sides back tab-press F1 key, when help pops up select "front sides back", scroll down to section #2. Everything you need to know is there.