MarkMc

Members
  • Posts

    4202
  • Joined

Everything posted by MarkMc

  1. That's how I feel once past 4 or 5 lines. Looked up 3 principals (will have to read that a few more times)-Encapsulation is why you placed the dimension code in the beginning instead of using %xyx%? The purpose being that the macro won't be broken if the %xyz% changes in the future?. I thought that when you folks said to stay away from "global" it was referring to $xyz ? I'd written lots of versions and parts of this. Copied, edited, tried with NONE, with "referenced ? obj = referenced : obj = owner", with and without "owner." "obj." (and my cousin Vinny), Case, If/elsif.... Until I got a bit to work, would then try adding a piece of the next section, when that failed would try again until I got a few pieces strung together. Then built it all, which didn't work, fixed that. Bottom line is I did not always know what was wrong but I did try lots of things. I was hoping there was a simpler way. NOTE There is a mistake in what I posted originally in the third section #Tall. Several lines read "wall cabinet" should read "utility cabinet" Is that the conflicts you are referring to? This is intended as label for the cabinets that I can insert with a hotkey for one brand. Few things change with other brands once it is done. Cabinets that require face configuration, hence other nomenclature are kept in the user library and brought in with "replace from.." List you have accurate except 3) Sink= SRB (I see that could just be adding SR-I just don't know how yet) 5) 2 = width >=24 (chief doesn't offer "number of doors"-24 comes both ways so decided on "2" at 24 since rarely use that size. 6) depth of 13 == Wall Base (BW) or Utility Base (UW) 8) end of string is depth of cabinet (2B27-18) When not 13 or 24 8) you're questions got me thinking that it might be simpler to make the depth as a separate macro added into the label box. Or added to all as an option (don't know how to do that yet) Since first posting I discovered that I will also need to have something for fillers since Chief uses the default cabinet label for fillers and we place those with hotkeys. 9) three more- Filler Utility, filler wall, filler base. We don't use the size drawn in the model for those, instead the size ordered. In this brand they all read F (3, 6, 9) height except for base fillers which need to read F 3,6, or 9 with height less toe kick (4.5 in this case) In other brands they will read BF (1.5, 3, 6); WF or TF 1.5,3,6 height 10) thinking of adding for corner cabinets both wall and base with variable diagonal face true or false. But may just replace from library for those. So may have that throw an "oops" 11) While right now "number of drawers" is handled using "Replace from..." I've considered using "num drawers" to throw an error as a red flag in case someone altered the face of a cabinet. A)Things I was thinking I might investigate- using some collection then comparing to collection? Or using some collection and returning the result ? Using "until"? then something for fillers? I got this to work with brute force and duct tape, (most of) Ruby has not "clicked in". I don't know if I will need enough macros to make learning it worth the effort, but I'm going to hack at it till it clicks, no longer capable of giving up. I'd like to be pointed to what road(s) to go down so I don't end up in the swamp.
  2. Thanks. Alas it only works on base and utility cabinets AND only if they are 24" deep. Errors on wall cabinets and any other depth. Still will be a good learning experience I see you defined the dimensions within the macro itself. (this is a question..) One reason I used %xyz dims% instead of writing it in directly was I want to write this for several other brands of cabinets. Those brands allow smaller dimensional changes and use different nomenclature. I was thinking that it would be easier to find and replace %xyz dims% with %zzz dims% (say to 16ths, or 1/8ths instead of half or 1inch) and then just change some of the "TEXT" in the results to match the brands nomenclature. ??
  3. I finally got this to work thanks to Michael,(and a quick skype from Michael Big thanks and Joe (Notepad++ helped and assorted posts from the macro gang. Questions- is there a way to shorten what I have (EVO label almost) using blocks, arrays, or hashes? I still have to add several categories to this and then I have to redo some of it for 4 other brands of cabinet so simplifying it would be nice. Since I just got out of one rabbit hole thought I ask if or which one I should go down next. Second- I had a heck of a time with the case statement. I tried defining it a lot of ways such as cabtype=owner.description case cabtype when cabtype=="base cabinet"---- result "xyz" when cabtype=="utility cabinet"... result "abc" Finally got this to work with an undefined case statement. I used case because I may have ranges in there and it looked easier to me. I did try "IF" statements with about he same amount of errors, this is just what I finally got to work. Attached the label macro as it stands (Evo label almost) and the dimension macros that are in it. Edited out an oops_mia culpa-deleted macros for now, did not realize until I saw BT's note. BTW there was an oops in the utility cabinet section
  4. Other options are convert the PDF to a png file which can be edited in a photo program. I use Bluebeam PDF revu (trial available) don't know if adobe Reader will do it but might. Or convert to dwg (think it was Rod Cole told me about) PDF to Cad, trial available. I find both programs invaluable.
  5. place full camera, open object
  6. May be like cabinets, where it is not possible to snap to the openings. Can do a detail from view-dimension that, copy the dimensions and paste in place-not live but better than nuttin.
  7. I'll report it. Locking walls doesn't solve it, have to turn them off. Also running into dims snapping to an arch block comprised of two interior fixture symbols made from plines-odd.
  8. Trying to set a dimension default that only locates base cabinets but does not locate wall. Checked "none" for "walls" in the default DBX but it still locates whatever is listed in "wall options" which doesn't have a choice of "none" Is this somewhere else?
  9. Most times I've had it read as it is using the built in card but actually use the nVidia card when I specify it in the settings. Just to be on the safe side I always set the entire machine to use the dedicated card (nVidia) and then specify each program I really want to use it. There's a program where you can check it with ... don't remember (cause I don't have it on this laptop which doesn't have an intel card) Note that the monitors will always use the Intel card AFAIK. You can also generally tell by the performance though.
  10. Two designers, 3 machines, sometimes a 4th BUT we only use laptops so some of this may help, some may be too cumbersome. Migrating we do as Joe suggests. Then always use the latest release ONLY. IF bringing a file from a prior version we do a save as just in case there is a need to revert. I don't have to give plan files to any other entities. Between machines we always use "backup entire plan" (to zip in X8) and include user initials and date in name. That takes care of textures and symbols in a specific plan. My part time assistant does this at end of day as a matter of course and drops it on a thumb drive. Whenever he's coming in I do the same for him in the morning before he gets here. We also have a private website for file transfer just in case and am setting up a private cloud here. For new symbols and material-I keep the library neat and organized into folders. Since new symbols always end up at the bottom and not in a file we export those as library file and add it to the zip backup. For most jobs I have a dedicated file in the library (makes getting job specific symbols easier). So sometimes the new symbols are immediately moved to that and we export it. Note that the Job file in the library always contains actual symbols and not short cuts to avoid problems.
  11. Not sure why, was just going to test a quick way to replace them and did not lose lite config when changing to casement- now it doesn't match the double hungs of course since it is a single pane. But that's easy enough to change.
  12. Just tested trim a circle- standard line- be sure the line goes beyond the circle is all. I usually click on the thumbtack (sticky mode) just in case. For architectural blocking of a single object the easiest method is to Shift Select the object. AFAIK you can't block a 3D object AND text or CAD objects- Text and CAD can make CAD blocks but not Arch Blocks, and visa versa.
  13. When checking messages on the forum using the phone the browser goes into spastic seizures (never seen anything like it , really cool, worth a try). Also end up having to re-login to retrieve a message or going back rto forum.
  14. That helps a lot Michael, thanks. Still would like to see by title in other search results.
  15. Just tried a search by author- one of the ruby gurus, with search term macro- anywhere and any-No results. Get that a lot from the advanced search, at times I've resorted to web search.
  16. Have done that- "by author" still requires a search term, can no longer just search for posts by Donald Duck... I'll get around that but ... what I do not see is an option to limit results to Titles instead of each and every post in every thread that matches. Faster and easier to find based on titles, guess I could call support more ;->
  17. I make a lot of door symbols and have posted a plan "kit" in the past. Yesterday had to make an 8 panel with wider than normal rail and was about to go through copy past yadyadayd when I realized I could have a V8. Instead just made a new panel (no frame) - took an inset wall cabinet, set separation needed, placed panel as "side panel inset". then split as needed. This is much faster if you need to change rail and stile width. File with- stuff to make your own panel, couple of panel symbol examples, few cabinet examples that could be turned into doors. If you need an outside edge profile on the new door you're making just add a 3d molding around the cabinet.
  18. Regarding the search function-we used to be able to get results by thread title only. I can't find a way to do that now? makes it very hard to sort through. Also appears that the search function is now case sensitive? or is there another reason that I often get no results? can't search for all posts by specific member any longer? I often don't remember what it was but who (senioritis)
  19. Looks like I'm going, get in midday Tues, leave late Thursday. Planning on getting to the CA breakfast but also have a breakfast meeting with a cabinet supplier. Don't know the day or time for that yet, last year they conflicted and were on opposite ends of the city, hoping to make both this time.
  20. Scroll wheel works for some- like end to end dimension, hotkey for others like draw line. Default hotkey for zoom in is (-); zoom out (/)-often also need to use arrow keys in combination with zoom.
  21. Will show tonight, about to get in car. Lower cabinet molding returning at 45 degree angle then the return has to start before the end of the cabinet. That leaves a small triangular gap between th molding and the top of the cabinet. "Extend top rail up" covers that. FWIW I always extend top rails on inset cabinets. Makes for cleaner and easier install, keeps exposed part of top rail consistent with other members (which matters for inset) AND happy installers. Here's a picture
  22. When returning at 45, which helps with door clearance in this situation, it helps to extend the top rail of the shorter cabinet.
  23. Yeah I've been there- just need a map to get around :0 No longer have a marked solved on threads? Thanks Guys