Trying to find a tutorial that i think Matt ? or someone did on making a pipe style with a thick dashed line
no luck. I did find this one but http://advsurveying.com/blog/?p=303
Still would like to find the other tutorial have you seen it on the net if so please paste the link in the comments below.
From the vba to vb.net migration video this is how you setup Autocad as the default debug program. Note the same process works for C# Express if you add the lines to the file ending with .csproj
1. Type Netload at the commandline browse to and load the download project .dll
2. Type QPE at the command line.
Note: Using this command may trigger event viewer to stop the event viewer displaying see the post have http://caddmando.blogspot.com/2008/12/turn-off-event-viewer-in-civil-3d.html
3. Hover the cursor near the start, end or centre of the pipe you want to edit.
4. Information on the specified location is displayed.
5. DoubleClick the mouse button to edit the displayed pipe information.
Note: The slope is always back calculated from the start invert and the end invert adjusted accordingly.
6. Once you have finished type QPEE to end the command and remove the events handlers
The code works as demonstrated in the following screen capture.
Being version 1 of the code it has limited error trapping and it works for me but is not perfect so use it at your own risk.
My ultimate goal was the mimic the behaviour of the featureline Quick Elevation Edit command. However I have fallen short in a number of areas. 1. To edit the pipe information a doubleclick is required instead of a single click. I have not been able to find out now to capturer the event when the user just clicks the left mouse button once. According to the online help there is no leftclick event exposed http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer%27s%20Guide/index.html
3. You have to end the command by firing another command to remove the event handlers in use. The initial command sets up a number of event handlers these need to be removed with you are finished with the code. You should be able to use another event like endcommand or esc key press to target a rountine to close the event handlers automatically but I do not know how to implement this at this stage.
Any feedback/comments on how I could implement these changes would be appreciated.
One I will forget if I do not write it down. You can manually lock and unlock PVI in the profile geometry
editor window it is just hidden off to the side scroll to the far right and you will find it. Note if you use the intersection
wizard the PVI are locked for you to the primary road if you choose so but you can remove at a later date if needed.
Well I have download Civil3d 2012 and loaded it and looked into this new pipe rule and the verdict for me is not good.Sure it stops the pipe short in plan view and has the grips there but the grips are not at the edge of the structure in ProfileView as I hoped.
Also the alignment from network parts command does not work correctly now and the alignment places the IP not at the centre of the structure but jumps to the end of the next pipe this error is most likely dependant on the angle of deflection between the incoming and out going pipes.