A place to put reminders on how to do things or commands that I will use rarely, but are useful to know.
Ad
Saturday, April 28, 2007
Flip multiple labels
2. Type labelflip
3. Select the label you want to flip and then hit enter (or spacebar or right click)
4. Hit escape to get out of the loop, you may have to hit escape more than once.
I have only tried this in 2007 and not 2008. To add it to the cui macro the line would be
^C^Cmultiple labelflip
Create Multiple Alignments from Polylines
Creating Data Shortcuts With One Button
^C^C-CreateSurfaceShortcuts;-CreateAlignmentShortcuts;-CreateProfileShortcuts
Drag the new command to the new toolbar and you should be ready to go. As you can tell from the above there is no command for pipe networks, at least from what I could find.
There are some problems with this routine:
- If profiles have the same name, it will say that it creates all of them, but they are not added to the list, only one instance of the name is created.
- If you have the Panorama window open to data shortcuts you will need to validate the data shortcuts for them to show up.
- If there are data shortcut objects in the file the program will create them, even though it is not allowed. So you will want to delete them before you export the file to not create problems.
This may not be all of the problems, but all of the ones I found. These are undocumented commands and may have problems because of this.
Friday, April 27, 2007
Using AECPolygon to Hide Surface Contours
You can use existing polylines or create the AECPOLYGON the same way you would draw a regular polyline. In this example I will create the AECPOLYGON's from existing polylines. To start type AECPOLYGON into the command line. Select the Convert option and select the PLines option. Select the polygons that you want converted to mask the surface.
If you want to keep the source polylines then select No, otherwise choose Yes. Now you will want to change the style of the newly created AECPOLYGON to do this press S for Style. A style manager will pop up onto the screen. Right click on AEC Polygon Styles and Choose New.Provide a name for the style, I choose HideContour. Go to the other tab and select Use Background Mask and select OK at the bottom of the screen.
Press enter to get out of the command. When you get out of the command you should notice that the style was not applied to the AECPOLYGON's.
To get them to show the correct style, select the AECPOLYGONs and go to properties and change it to show the style you created.
Now when you will have the surface contours will be hidden by the AECPOLYGON.
Unlike the Surface Boundary Hide, you have to worry about draworder and you can't print them from model space without changing the color of the mask (if you do it will come out as a black box). As long as you want the surface printed first it should be pretty easy to manage; send any surfaces to the back in which you don't want the contours being masked, then send the AECPOLYGONs to the back and then the Surface to be masked to the background.
This may also seem like the same as the wipeout command but there are somethings I like which are better, for instance you can add and remove vertexes throught the right click menu and there is an extra grip between vertexes that allows you to drag the edges and they stay parallel to the original line. Give it a try you may like it or not.
Disclaimer: I haven't actually used this in production, but will probably do so in the future.