Thursday, March 23, 2017

AutoCAD 2018 -- New Features

AutoCAD 2018 -- New Features

Before we get started on the list of features, you need to know: The drawing file format has been changed for 2018. You will not be able to open 2018 files with older versions of AutoCAD, but you will be able to save back. Save back functionality will vary by flavor of AutoCAD. AutoCAD 2018 to AutoCAD Old will be easy. Civil 3D 2018 to Civil 3D Old will require a workflow.



Dialog box upgrades

1. Navigation boxes for commands like Open, Save, and Attach now remember your sorting preference from before. 

2. Other dialogs, such as Drafting Settings can now be resized. 



3. The True Color tab in the Select Color dialog allows input of RGB colors as comma-separated values. I am at a loss to understand what is new in this feature, as you have been able to input comma separated numbers in this dialog since I can remember. 

User Interface Enhancements

4. The Quick Access Toolbar menu now includes a Layer Control option. It is turned off by default, but is easily activated. I don't know if this feature will also be activated in AutoCAD Civil 3D 2018, but I hope so. 



5. System Variable Monitor has an icon on the Status Bar and it lights up when any of your monitored variables have changed. Useful. 

6. Rubberband line color can be set. In 2017, they are an orange color, but in 2018 you can make the rubberband line any color you want, even invisible.



Object Selection


7. Off-screen selection. I think you're gonna like this feature. It allows you start a selection process, like crossing or window, and be allowed to zoom and pan to off-screen objects while AutoCAD waits for you to finish the selection. Objects that have been pushed off-screen during your zooming and panning still get selected. This is a very nice feature.




8. Ability to select objects within gaps in their linetypes. Instead of having to be careful and pick on visible segments, you can be just a little more careless, but still get your object. This will help avoid errors. People sometimes think they selected their object.

Documentation

9. Import SHX fonts as text when importing PDF files.Previously, any SHX font-based text written to a PDF from AutoCAD, when imported back into AutoCAD, would come in as geometry, not as text. Now it can come in as text.




10. PDF Import dialog boxes display thumbnail previews of PDF files. 

11. Combine multiple text objects into a single Mtext. This is the TXT2MTXT commanda graduate from Express Tools. This command has been around for a long time, but has now been moved to the Insert ribbon tab. Not just that, TXT2MTXT has been given a facelift, with several new settings, options and fixes to make it work more efficiently.



Collaboration

12. External references are now supported by AutoCAD to reduce the problems created by broken reference paths. You know, like when you save your host drawing to different path?


  • Relative Path is now the default path type when you attach or overlay an xref. Hallelujah!
  • A new REFPATHTYPE system variable allows you to set default path type to your choice.             Previously, you had to use a registry hack to set a default other than Full Path.
  • You can now assign a Relative path within a host drawing that has not yet been saved. The problem it fixes wasn't that big of a pain, but it shows that our friends at Autodesk do care about making the software work correctly.
  • If the current drawing includes relative references and you save it to a different location, you get a dialog, see above, that saves you from making a costly mistake. Notice the button allowing you to automatically update the relative reference paths. This is my personal "top new feature" for AutoCAD 2018.
  • The Xref dialog has a couple of new options that help you Select New Path and Find and Replace will help you repair broken reference links. These are nice upgrades.
  • Orphaned references now display correctly within the xref window's tree view, even if the link is broken.
  • Unloaded Xrefs can be opened. 
  • If you rename a reference file using a different dialog, like ClassicXref or Rename, the reference name is updated in the External References dialog without having to reload.
13. Share Design View is a preexisting tool that makes it easy to publish your design files to the cloud and share them with others. The consumer of your design views doesn't need Autodesk software and doesn't need to login to view your files. The tool has been enhanced to support AutoCAD 2018 dwg format.



Speed

  • Drawing file format has changed, allowing better speed in opening and saving drawing files, especially for those of you who use many viewports in a drawing or who have drawings that are heavy with annotative objects. 
  • High resolution monitor support. Full support for those awesome 4k monitors.
  • REGEN3 is for 3D modeling users. By rebuilding the geometry in all viewports, this command will remove discontinuities in the display of 3D solids. 
  • You can now turn off Smooth line display but continue to use the High quality geometry option.
  • 3D navigation performance has been enhanced significantly. In fact, Autodesk states, "...the performance for manipulating 3D models is approaching that of 2D drawings." How's that for welcome news?
  • Online Maps use the new Bing Maps v8.0, providing better performance. Sweet.

Go mobile

Your AutoCAD subscription includes the AutoCAD Mobile app, allowing you to run AutoCAD on your tablet or phone. You won't have to carry plans to your jobsites!


My congratulations to Autodesk for continuing to make practical modifications alongside stunning modernization.

Tim







Friday, December 11, 2015

How to create bearing labels that show all bearings as north


Article by Timothy Corey




This article is about a way to make Civil 3D display all bearings in their northerly directions. My solution was going to be a process that would involve three expressions and one label style that would include two components. Jeff Mischler, my friend and the Yoda of Civil 3D, showed me a way to do it with one expression and one label style having one component. Jeff's solution, in my words:

Step 1 -- Create a new Expression. This post will show the process using a General Line label style. It could be performed in the same manner for Alignment Line labels or for Parcel Segment labels. Right click and pick New... 





I going to blow this image up large so you can read the expression:



If it were to be translated into English: Take the statement "direction of line line is either smaller than or equal to 90 degrees (0 is north, angles are to the right) or larger than or equal to 270 degrees." If that is true, then return the segment direction, but if the statement is false, return the segment direction plus 180 degrees (in radians, pi.) That makes southerly lines answer with a northerly direction. Slick. Thanks, Jeff.

In case you don't understand what pi is doing in there, general segment direction is returned in radians. Using radians, pi is half of a circle, 180 degrees, or 3.1415926... radians. What you and I think of as AutoCAD 270 degrees is pi*1.5, or 4.712...radians. Using pi instead of the actual radians lets you avoid rounding errors that can only be avoided by typing out the radians to many decimal places. It's far easier to just say pi * 1.5 than 4.7123889. Plus it's easier to remember. That's why you see pi in these formulas.

Be positive that you have set Format result as: to Direction.Your expression won't work if you don't.

Create a new label style. Pick the Bearing component in Component name list.


Go into Contents:






Select inside the preview window and delete the contents, then drop down the Properties list.



Set the settings to your desire, then press the right-pointing arrow that sits just to the right of the Properties list. The Preview window will populate.



Hit OK, set the rest of your label properties and components and go test it.





That's way easier than how I was going to to do it. 












Friday, February 27, 2015

Subassembly Composer, A Primer -- Part 6, Creating a Shape






Article by Timothy Corey










Having left our exploration of Subassembly Composer at the point where we know how to set both geometric and surface targets, we realize that every subassembly we have created has been zero-thickness. You can create surfaces from this type of subassembly, you can quantify it using QTO Manager but you cannot take advantage of Civil 3D's Material Volume reporting capabilities...

Until now. This part of the primer will show you how to create a basic Shape object in Subassembly Composer. By now you know how to create points and links, so for this exercise, we let you alone to create your version of a sidewalk. Use your own numbers to make a rectangle, something like this:



Before you draw your shape, one important consideration. Will you be creating Surfaces from the Link Codes you apply to your shape? If so, remember, Civil 3D surfaces cannot handle vertical faces. Although you could rely on your users to set Overhang Correction in their Corridor Surface creation, many find it more reliable to do the correction themselves.

For example, say we plan to use the base of the Shape as a Datum surface. If we were to rely on Overhang Correction for this assembly, the far right end of our sidewalk would likely be missed in modeling the Surface.


To model this correction into the subassembly, we created the lower right point an X offset of -0.001 from the upper right point. To create the lower left point, we used an X offset of 0.001. 

If you only plan to use this subassembly for quantity takeoff, but not for a surface, ignore what was said above and use vertical faces all you like.

Back to the How-to: To create a Shape, drag the Shape tool from the Toolbox to the Flowchart.



Now, all you need to do is add the Links that define the Shape. You can either press the Add Link button four times or you can press the little box with pointer icon at the right end of the box. Press the icon and then select inside the shape.






The next part of the series will show you how to allow users to assign their own Point and Link Codes while placing your custom subassembly. It might be a couple of weeks, as our schedule is full.



Monday, February 23, 2015

Subassembly Composer, A Primer -- Part Five, Targeting other Geometry












Article by Timothy Corey







Now you are able to target a surface and you are able to make the link decide on cut or fill. The office staff are astounded at your abilities. A raise is imminent.

But now some dufus senior engineer says he wants to be able to target some other geometry, like a feature line, an alignment, a profile or a 3d polyline. Why the heck would he need to do that? He can already target a surface. "Ok, whatever, dude, I'll do it."

Start a new subassembly and add your UserSlope input parameter. You should be pretty good at this step by now. For this subassembly, we will also want a User Offset input parameter.



The subassembly will use this value in any area it cannot find its assigned targets. It is common that a subassembly does not find assigned targets. For example, you are grading in an area with an existing retaining wall. Along the wall, you want your new point to grade to the existing base of wall. The retaining wall does not extend the entire length of the corridor region, so parts of the region need an assigned offset.

Next, move to the Target Parameters tab and add two parameters: one for offset and one for elevation.



Although you might want to use the same drawing object for both offset and elevation, you must create two parameters and the user must assign the same object twice when setting the targets. There is no "both" option. Should there be? Yes, in the author's opinion, there should.

Add P1 at the origin. Add P2&L1. Set Point Geometry Type to Slope and Delta X. Specify your UserSlope input parameter for Slope and UserOffset for Delta X. For Offset Target, drop the list down and pick your TargetOffset parameter. Same for Elevation Target. This critical step is what allows your user to specify target geometry from the Parameters tab of Corridor Settings.




Save and test in Civil 3D.

Your rise in status to office hero continues unabated. Congratulations.... for now.

Part 6 will show you how to create a Shape in Subassembly Composer, because the world is neither flat nor zero-thickness.





















c

Wednesday, February 18, 2015

Subassembly Composer, A Primer -- Part Four, Deciding on Cut or Fill


  




Article by Timothy Corey

 



Well, that's pretty cool, now we can make a surface link by creating a Surface Target Parameter and targeting it with our point and link. Sweet.

But we want more. The current surface link will cut or fill based on whether UserSlope is positive or negative, but won't decide if we are in cut or fill on its own.

That's where a Decision (Toolbox window) comes in.

We will start this primer with a subassembly that has the UserSlope and SurfaceTarget parameters that we created in Part 3, but delete everything from the Flowchart, except the Start object.



Add P1 at the origin.

Drag a Decision from the Toolbox to the FlowChart. Drop it below P1.



The Decision object is your basic If/Then or True/False option provider within Subassembly Composer.

What we need to determine is whether P1 sits in cut or fill, below or above the surface at this location.

In the Properties window, in the Condition box, you will see grey text saying Enter a VB Expression here. Click in the box and type P1.DistanceToSurface(SurfaceTarget)<0 font="">. Inside the parentheses is the name of your Surface Target Parameter. If Subassembly Composer accepts the expression, you won't see a little warning symbol.






In the example, I have changed the labels to Fill and Cut. If the Distance to Surface is negative, less than 0, that means we're in cut, and vice versa.


Drag a new point below the Decision. It will connect to the Cut side (left) of the Decision.






Set the properties of P2 so that it targets a surface at a positive UserSlope.



Notice the use of math.abs to be sure we get a positive number from UserSlope.


Now add P3 and connect to the Fill side of the Decision.





And set its properties:


Notice the - sign in front of math.abs(UserSlope). This forces the slope in a fill direction.

Test this by changing the Preview Value of SurfaceTarget (target parameters window) from a positive to a negative number.






A more succinct method of doing the same thing, without need for a Decision, is to put an If statement right in the box for P2 Slope, like this:



Thanks to our friends at Civil3DReminders.com for this suggestion. 

Of course, test in Civil 3D before distributing to your amazed colleagues. The boss is gonna be astounded and your job will remain secure....until he asks for the users to be able target feature lines, alignments and profiles. That's Part 5.



More about VB Expressions in Subassembly Composer here.










Saturday, February 14, 2015

Subassembly Composer, A Primer -- Part Three, Targeting a Surface



Autodesk Platinum Partner

 
Article by Timothy Corey
Autodesk Civil 3D Certified Professional


Now you have a subassembly that is meant to connect to a curb subassembly. This new subassembly lets the user apply slope and offset values for creation of a new point and link.



It doesn’t do much, but there is awesomeness in its power.

The engineers in the office love this new subassembly and you have become a hero among them. Then…that new guy, right in front of the boss, asks if you can make the new point intersect with a surface. The boss looks at you, “Yeah, can you make it do that?” He has internet, he knows it can be done.

The good news is, yes, YES, it’s simple to create a surface link with Subassembly Composer. Your position is secure, or will be once you read to the end of Part 3 of this primer.

At this point in our process, we will create a new subassembly file in Subassembly Composer. We have saved the previous file in a secure location.

The new point is going to target a surface and we want the user to be able to supply the slope. As before, we will need an input parameter for slope, but we will also utilize the Target Parameters window. 

Use Packet Settings to name your subassembly as you wish.

Create your user slope input parameter like you did in Part 2 of this primer. 



Now, something new! Move to the Target Parameters tab. Create a new parameter and name it something meaningful, like SurfaceTarget. No spaces allowed in the name. The user sees what you use in the Display Name column. Preview Value is an elevation for the surface in the preview window. This allows you to test your subassemblies, especially as they become more complex. And, of course, be sure you’ve set the Type to Surface. 





Now, create P1 at the origin and then add P2 and L1. Set the point geometry type to Slope to Surface. Replace the default slope value to the name of the input parameter you created for slope. I used UserSlope for mine. For surface target, drop down the list and pick the target parameter you created. 





You’ll see its name there and once you pick it, your link will appear in the Preview window, unless you left the Preview Value of the surface target at 0. Remember that setting, back on the Target Parameters window?



Save your subassembly, import it into Civil 3D and give it a try. Pass it around to your colleagues.

What, your boss said he knows there’s a way to make it check for cut, but go to fill if it needs to? Part 4, coming soon…