Ad

Monday, November 19, 2007

Changing Drawing Units

Here is a way to change the units of a drawing and all of the feature settings of the objects.

http://fredbobchris.googlepages.com/ChangeUnits.html

If a little blue down arrow shows up after changing the values to the right of the unit changed, make sure to click the blue arrow to override the naughty children.

Thursday, November 15, 2007

Autodesk University - Supercalifragilisticexpialidocious Sewer Design

Information for Supercalifragilisticexpialidocious Sewer Design:

VBA Programing Examples:
Laterals
Pipe List w/ Formula
Pipe Network Quantity
Alignment Custom Rule (C3DPipeRules.dvb)
Alignment Custom Rule XML (C3DPiperules.xml)

Links:
http://www.civil3d.com/2007/07/using-pipe-sample-vba/
http://www.civil3d.com/2007/11/modifying-cover-and-slope-rule/
http://civil-3d.blogspot.com/2007/11/anatomy-of-rule.html

Other Point Description Code Samples:
Pipe Slope: oPipe.Slope
Alignment Name: oPipe.Alignment.Name
Pipe Length: oPipe.Length2D
Connected Structure Start: oPipe.StartStructure.Name
Connected Structure End: oPipe.EndStructure.Name
Pipe Description: oPipe.Description
Pipe Diameter: oPipe.InnerDiameterOrWidth

I put all of my pictures, PowerPoint and cad files on the internet. They may be found here:
http://fredbobchris.googlepages.com/CV304-3P.zip
http://fredbobchris.googlepages.com/CV304-3P-CadFiles-1.zip
http://fredbobchris.googlepages.com/CV304-3P-CadFiles-2.zip
http://fredbobchris.googlepages.com/CV304-3P-CadFiles-3.zip
The screencast of the presentation may be found on the AU website.

Monday, November 12, 2007

Changing Profile Vertical Curve From K to Length

If you layed out a vertical curve using the K value, you can adjust the vertical curve by changing the profile to Entity based from PVI based. See the video in the link below to see a visual example:
http://fredbobchris.googlepages.com/ProfileKLength.html

Wednesday, November 07, 2007

Laydel Command

I did a video, without sound, of using the laydel command to delete layers from a drawing. Using the laydel command deletes the layers from the style and sets them to 0 after an audit.

Here is the link:
http://fredbobchris.googlepages.com/LAYDEL.html

Saturday, November 03, 2007

Expression to Control Rotation of Label

You can now use an expression to set the rotation of an object, in Civil 3D 2008. For instance if you want a Station Offset label to look like the picture below previously you needed two labels, one for the left and one for the right side of the alignment, or an expression to have two different label heights (see the style on 10-28-2007).To create an expression for the label we need to use an If statement to see if the Station Offset Label is to the left or right of the alignment. Then based on what the value is we set the rotation to 90 or 270 degrees. Since the rotation value uses radians, and I don't do radians, we will need to convert the degrees to radians with the DEG2RAD() function.
I placed an example that isn't pretty, but works on the Intermittent Block or Style of the Day site (see 11-03-07).

LinkWithin

Blog Widget by LinkWithin

Ad