See the top rated post in this thread. Click here

Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Flip Direction for Pipes?

  1. #1
    Active Member
    Join Date
    2008-04
    Posts
    58
    Login to Give a bone
    0

    Default Flip Direction for Pipes?

    I was wondering if there was any way to flip the direction of a pipe. I'm not talking about the flow direction, but rather the flip direction effect that could be done in LDT with lines.

    It's annoying to have to pull the pipes off and manually change which end they go to just to get the linetype facing the right direction.

    (Sorry if this has been asked before, I did a search and didn't see anything about this)

  2. #2
    Active Member
    Join Date
    2007-08
    Posts
    69
    Login to Give a bone
    1

    Default Re: Flip Direction for Pipes?

    http://style.civil3dreminders.com/flippipe or http://au.autodesk.com/?nd=class&session_id=830 you'd have to change the references based on what version Civil 3D you are using. http://blog.civil3dreminders.com/200...eferences.html It doesn't work well for curved pipes, you'll have to drag the curve to the correct location.

  3. #3
    Active Member
    Join Date
    2008-04
    Posts
    58
    Login to Give a bone
    0

    Default Re: Flip Direction for Pipes?

    Awesome... exactly what I'm looking for. Now I have to find an hour to put aside to watch your video for more little tricks...

  4. #4
    Active Member
    Join Date
    2007-08
    Posts
    69
    Login to Give a bone
    0

    Default Re: Flip Direction for Pipes?

    Before you spend an hour watching it, here are the reviews from the class (attached).
    Attached Files Attached Files

  5. #5
    All AUGI, all the time brian.hailey933139's Avatar
    Join Date
    2006-12
    Location
    Loveland, CO
    Posts
    734
    Login to Give a bone
    0

    Default Re: Flip Direction for Pipes?

    I don't get some of the comments AU attendees leave - "I don't use civil 3d did not help me at all", then why were you in a Civil 3D Power Track class?

    I've been meaning to watch your session, and now I'm going to make sure I take the time to watch it. I don't think your technical skills are at all in question, probably just a combination of nerves and inexperience in speaking that got you the bad comments.

  6. #6
    Active Member
    Join Date
    2008-04
    Posts
    58
    Login to Give a bone
    0

    Default Re: Flip Direction for Pipes?

    Chris, I finally got around to testing your vba code and when I select a pipe, I get an error message telling me what I selected was not a pipe. I'm using C3D 2009...

    EDIT: I can't get into the VBA to check the code because it's password protected.

  7. #7
    Active Member
    Join Date
    2007-08
    Posts
    69
    Login to Give a bone
    0

    Default Re: Flip Direction for Pipes?

    I removed the password protection, you should be able to change the references now.
    http://style.civil3dreminders.com/FlipPipe.dvb

  8. #8
    Active Member
    Join Date
    2008-04
    Posts
    58
    Login to Give a bone
    0

    Default Re: Flip Direction for Pipes?

    Chris, thanks for the unprotected file... I noticed references to excel in your declarations. Perhaps I am getting the error because it is not recognizing a reference to excel? Does it copy the pipe to an instance of excel, flip things around, then import them to C3D?

    I have Civil 3D 2009, and Excel 2003 & 2007... when I run the macro, it prompts me to select a pipe. I select the pipe and it returns the coded error message: "You did not select a pipe."

  9. #9
    Active Member
    Join Date
    2007-08
    Posts
    69
    Login to Give a bone
    0

    Default Re: Flip Direction for Pipes?

    Quote Originally Posted by mdemint View Post
    Chris, thanks for the unprotected file... I noticed references to excel in your declarations. Perhaps I am getting the error because it is not recognizing a reference to excel? Does it copy the pipe to an instance of excel, flip things around, then import them to C3D?

    I have Civil 3D 2009, and Excel 2003 & 2007... when I run the macro, it prompts me to select a pipe. I select the pipe and it returns the coded error message: "You did not select a pipe."
    The Excel reference is because I started it with the sample that ships with the program, you should be able to remove it without it affecting the code. You do have to flip the pipe in plan view, it won't work on a pipe shown in a profile view.

  10. #10
    Active Member
    Join Date
    2008-04
    Posts
    58
    Login to Give a bone
    0

    Default Re: Flip Direction for Pipes?

    Chris, thanks again for your help and providing this vba code. For some reason the FlipPipe macro doesn't work for me. It runs, but doesn't recognize the pipes I select (in plan view). After looking at this code and some of your other macros, I'm wondering if it needs to reference "AeccPipeApplication.6.0" (in my case for C3D 2009). Perhaps the code doesn't identify the network and that's why it's not working for me? I dunno...

Page 1 of 2 12 LastLast

Similar Threads

  1. Flip Controls and Connector Direction
    By phyllisr in forum Revit MEP - Families
    Replies: 0
    Last Post: 2011-12-30, 07:11 PM
  2. Flip dimension direction
    By autocad.wishlist1734 in forum Inventor Wish List
    Replies: 3
    Last Post: 2011-10-20, 10:23 AM
  3. Flip line direction
    By dasmith in forum AutoCAD Civil 3D - General
    Replies: 11
    Last Post: 2009-07-25, 12:44 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
  •