Ad

Monday, August 03, 2009

Custom Pipe oSnap

I’m trying to create a Quick Pipe Editor to use with Civil 3D 2010. My final goal is to have a tool similar to the feature line quick edit that is within the program already that works on pipes. The first step is to create a tool that shows a glyph at the end of the pipe. I’m trying to do this with a custom pipe oSnap. With help for the Through the Interface blog I was able to modify the code he posted about to create the code. First I translated the code from c# to vb.net and then modified it to work with Pipes.

The code that I used my be found in here: http://style.civil3dreminders.com/PipeGlyphsFirstStep.vb

Here’s a short video with the code in action: http://screencast.com/t/PmGSyvEsp The little P s are the resulting code. The next step is to add relevant information to the crosshair tooltip instead of Pipe End.

Note: I’m still looking for someone who wants to trade something for a signed copy of Mastering AutoCAD Civil 3D 2008. It can be anything, just make an offer. Thanks.

1 comment:

Anonymous said...

I wish tool existed. I have commonly complained (ask my coworkers) that pipes should be able to be edited with the quick elevation editor from the feature lines toolbar. Click an end of a pipe, assign and elevation, click the middle of the pipe, apply a slope. HOW NOVEL.

-Kurt

LinkWithin

Blog Widget by LinkWithin

Ad