Results 1 to 4 of 4

Thread: Scale Culvert Dynamic Block proportionally to the width of the pipe

  1. #1
    100 Club KansasCAD's Avatar
    Join Date
    2002-02
    Location
    Derby, Kansas
    Posts
    109

    Question Scale Culvert Dynamic Block proportionally to the width of the pipe

    Hello,
    I am converting alot of our blocks into dynamic blocks as time permits and as I need to use them. I am having trouble with a culvert block that I have attached. What I want it to do is be able to insert this block, be able to grip edit the length of culvert, (I have that part working), be able to rotate it, (I have not added that yet), and be able to either grip edit the width of the pipe in the available sizes, or use a lookup table for the different sizes of pipe. The problem I am having is scaling the end section on each end of the pipe. The "base point" of the scale needs to move with the end of the pipe and scale based on the width of the pipe. I have calculated the scales and all of the dimensions of the end section will be close enough if I can just scale it proportionally to the width of the pipe. So for any of you who like a challenge I would appreciate any help. Thanks,

    Daryl
    Attached Files Attached Files
    Enjoy the little things, for one day you may look back and realize they were the big things.

  2. #2
    Dynamic Blockhead Mod Rico's Avatar
    Join Date
    2005-06
    Location
    In the hospital cuz of my fever for more cowbell
    Posts
    1,828

    Talking Re: Scale Culvert Dynamic Block proportionally to the width of the pipe

    okay, so I've got 2 different ways of doing it.

    In one of them, I've used a polar stretch to accomplish botha rotate and a stretch with ONE point only.

    in the other one, I've got separate actions for the rotate and stretch actions.

    Let me know if this is close to what you wanted.

    Note that in both cases, you'll need to decide the culvert width (vertical) before setting the length (horizontal) no reason other than you'll have to adjust if you do it the other way around. It'll work either way, just less clicks if you do it my way.

    Hope it's what you were looking for.
    Attached Files Attached Files
    [SIGPIC][/SIGPIC]
    Return of the Cowbell

  3. #3
    100 Club KansasCAD's Avatar
    Join Date
    2002-02
    Location
    Derby, Kansas
    Posts
    109

    Default Re: Scale Culvert Dynamic Block proportionally to the width of the pipe

    Wow Thanks,

    I guess I was trying to make it too difficult. I am now going to add the "Standard sizes" for width, and make the length incremental to either 1 foot or 6 inches. Would you use a lookup table for the width, or just enter them in a list? I have used both, just curious to get opinions of others on what they use and how they decide.

    Thanks again,

    Daryl
    Enjoy the little things, for one day you may look back and realize they were the big things.

  4. #4
    Dynamic Blockhead Mod Rico's Avatar
    Join Date
    2005-06
    Location
    In the hospital cuz of my fever for more cowbell
    Posts
    1,828

    Default Re: Scale Culvert Dynamic Block proportionally to the width of the pipe

    Quote Originally Posted by dstandri
    Wow Thanks,

    I guess I was trying to make it too difficult. I am now going to add the "Standard sizes" for width, and make the length incremental to either 1 foot or 6 inches. Would you use a lookup table for the width, or just enter them in a list? I have used both, just curious to get opinions of others on what they use and how they decide.

    Thanks again,

    Daryl
    I'd probably use the lookup and get rid of the stretch action icon (set the # of grips to 0 in BE)

    That way, everything can be accessed from the menu and people can't fake the funk. And only you can add a 'standard' size if needed.
    [SIGPIC][/SIGPIC]
    Return of the Cowbell

Similar Threads

  1. Pipe Sleeve Dynamic Block
    By dburk_2 in forum Dynamic Blocks - Technical
    Replies: 1
    Last Post: 2011-11-22, 12:00 PM
  2. Dynamic Block - Viewport Scale
    By paul.142634 in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2009-07-16, 03:47 PM
  3. Help to Get X scale Value of a Dynamic Block
    By CADdancer in forum AutoLISP
    Replies: 3
    Last Post: 2008-03-17, 03:31 PM
  4. Replies: 0
    Last Post: 2007-04-09, 04:12 PM
  5. Stretch the length or width of Dynamic Block Bar Grating
    By madcadder in forum Dynamic Blocks - Technical
    Replies: 5
    Last Post: 2007-02-22, 09:37 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
  •