Ad

Wednesday, April 08, 2009

Pipe Slope Along a Run – Update Structures

In a previous post I showed how one could adjust a pipe run’s slope. There a appears to be a problem in that the structure’s don’t update. This post will take that code and have the structures update after the pipe slopes have been changed. So download the previous file, if you haven’t already and make the following change to the bottom of the Sub PipeSlopeRun().

image

The added code is highlighted in yellow. The code cycles through the structures in the shortest path and resizes the structures based on the pipe depths. For some reason the last object selected isn’t updated, so the last part updates the last object selected if it is a structure.

No comments:

LinkWithin

Blog Widget by LinkWithin

Ad