Join Pulse If you would like to be included in Pulse, please submit your news, press releases, or blog URL to pulse@novedge.com Novedge reserves the right to exclude certain items from Pulse. | Novedge Novedge Pulse of Chris FugittThe Pulse of the Graphics & Design CommunityDec 21, 12 Civil 3D Reminders Civil 3D AppsMerry Christmas and Happy Holidays,All I want for Christmas is some feedback of the Apps I’ve posted to the App store and was wondering if you could help me out with this request. So feel free to leave a comment or post a review on the Autodesk Exchange App site, if you downloaded one of the apps. I am also interested in hearing how likely you are to purchase an App from the app store in the future. Links to the Apps may be found to the right under the Autodesk Expert Elite Logo. Like one of my old posts and want to see it turned into an App? Leave a comment and it might become a reality [more...] May 18, 13 Civil 3D Reminders WorkstationsIt is that time of the year where Dell announces a their new industry leading workstation releases. This years release appears to be a focus on an offering for the low end of the market with the T1700 and the high end with the R7610 rack workstation. The T1700 is designed to be priced at about the cost of a desktop machine and provide a smaller footprint compared to Dell’s larger workstations. The workstation comes with support for three monitors, with optional support for four monitors. If you are still living with one monitor it might be time to make the jump to four monitors. this way you can have two instances of Civil 3D running with the palettes residing on the other two monitors. This way while you wait for Civil 3D to complete the tasks you can work in the other session. Eliminate some of the dead time Civil 3D creates by not using the full processing power of a workstation by artificially making the software use multiple processors at the same time. The workstation also comes with Dell Precision Performance Optimizer. While not supported for Civil 3D currently, it might in the future. This feature helps adjust the workstation for the program’s needs. this is definitely something Civil 3D could use as indicated in these tests by Stanford University. Additionally the workstation comes with the option to have Windows 7 installed. Autodesk seems to have been caught by surprise that Microsoft was releasing Windows 8 and doesn’t appear to have done any preplanning before the new OS was released.The Dell Precision R7610 Rack mounted workstation is the product I’m most intrigued by. I travel quite a bit and work where ever I am. It might be advantageous to be able to connect to a workstation at the office and use my workstation where ever I happen to be. The workstation may contain up to 256 GB of memory as well as multiple professional video cards. I wish my clients that I work with remotely had this capability. This way I could work on their network directly without having to transfer files back and forth. Plus this workstation can be used by multiple people. The connection when you are in the office is a small Dell Wyse P25 Zero Client leaving more monitors and plan space. Learn more at dell.com/precisio [more...] Apr 25, 13 Civil 3D Reminders Creating Alignments With the .NET APIThis post is about creating alignments with the API. I’ve decided I suck at getting code to show up correctly in Blogger, so I’m going to use pictures from now on for the code. The first example creates an alignment from a polyline.The code gets the default settings and then creates an alignment from the polyline. It also checks to see if the alignment name already exists. If it does exist then it appends a number behind it, just like Civil 3D does. I’m going to call my AlignmentNameExists my secret sauce, so I’m not going to share it. It should be easy to figure out, just go through all of the alignments in the drawing and see if it exists. If you are for sure the name doesn’t already exist you can skip the code. I was going to go through some of the other options, but noticed I don’t have any code handy for the other methods. They should be fairly easy to figure out since they follow the same pattern as the code above [more...] Apr 21, 13 Civil 3D Reminders AutoTurnIt looks like Transoft has released an update to their software for AutoCAD 2014 products. Their press release is below:Transoft Solutions, developers of productivity enhancing software for the transportation engineering community, has just released version 8.2 for AutoTURN and AutoTURN Pro 3D, the world’s leading vehicle swept path software.The newest version of AutoTURN includes compatibility with Autodesk® AutoCAD® 2014, Microsoft® Windows® 8 and Server 2012 along with an impressive list of updates to the vehicle libraries. Along with updates to design vehicles in AASHTO 2013, Caltrans 2012, Florida PPM 2013 and Wisconsin DOT, Transoft engineers added functionality for our overseas clients as well. The Israel Department of Transportation contacted Transoft regarding several of their unique vehicle needs. The engineers extracted the key specifications for the Israeli vehicles and they are now part of the AutoTURN 8.2 software package.In direct response to customer requests, AutoTURN 8.2 also features the capability to automatically share standardized load and sight line specifications between different workstations in a network installation. Christian Milne, Software Development Manager for Transoft Solutions says, “We strive to take our clients’ requests and put them into action. The vehicle libraries within AutoTURN have always reflected the needs of the transportation and engineering industry and the latest version of the software continues that tradition.”To get more information on AutoTURN 8.2 or to sign up for a free demo please visit: www.transoftsolutions.co [more...] Apr 21, 13 Civil 3D Reminders BloatI’ve spent the past two days dealing with Autodesk’s bloat. Well actually it’s been the past six years since I’ve been using Civil 3D. With a new release the bloat doesn’t appear to be a topic Autodesk feels it’s worth dealing with. I guess for 2014 it continues with the monstrous 12 GB download for the Infrastructure Design Suite which turns into a rather large expanded file size, of which I haven’t figured out how big it is. For I’m still waiting for the install file to download after 8 plus hours. I’ve heard rumors just to install the package it tops out at over 45 GB of hard drive space required. Only want to install Civil 3D and another item and not the rest of the package? Well you’re out of luck since you have to endure downloading, unzipping everything, and then choosing what you want to install. I’m fairly certain I’ll never have a need to install plane Jane AutoCAD when I have Civil 3D and Map 3D installed. I recently was programming the creation of an AutoCAD table and adding blocks to the table in a drawing. In order to separate my software development from my drafting work I utilize Virtual Machines with a reduced amount of RAM available. Still a healthy 3 GB, but not necessarily enough for Visual Studio and AutoCAD Civil 3D to coexist on such a machine. I run out of memory when modifying the cell height of the table, which promptly crashes AutoCAD Civil 3D. Now you might think it’s a huge file that I’m using that causes the program to crash. Well it’s not. It’s an empty out of the box Civil 3D Imperial template with nothing else in the drawing until I create the table. Not quite sure what’s using up all of the memory. Now I thought it might be my program, except before loading it AutoCAD Civil 3D is already using 200 MB from opening the program. Bad things start to happen when a computer starts to run out of RAM. I know I’ve lived the past six years of living through it [more...] Mar 29, 13 Civil 3D Reminders Civil 3D 2014 – Maintenance ModeAutodesk has announced the release of Civil 3D 2014. From the looks of it Civil 3D 2014 is in maintenance mode. The existing pressure pipes have been improved with new features and some other minor fixes, but no additional BIM objects in the product. It will be interesting to see if Autodesk poured resources into improving the speed and stability of this new release. If we don’t see any improvements in speed or bug fixes would it be safe to assume Autodesk has put Civil 3D out to pasture like they did with Land Desktop? Is InfraWorks the new replacement? Only time will tell once users start using Civil 3D 2014 in production.Am I totally wrong and Civil 3D 2015 will be busting out of the seams with new BIM objects?What do you think [more...] Mar 21, 13 Civil 3D Reminders Modifying Profile View BandsHere’s how to update a band’s profile and pipe network through code. Well the part I was having trouble with. You need to Get the ProfileViewBandItems and the Set the ProfileViewBandItems. If you don’t set it, then it won’t work.ProfileViewBandItemCollection bottomBandItems = profileView.Bands.GetBottomBandItems(); ProfileViewBandItemCollection topBandItems = profileView.Bands.GetTopBandItems(); bottomBandItems.RemoveAll(); topBandItems.RemoveAll(); profileView.Bands.ImportBandSetStyle(profileBandSetId); bottomBandItems = profileView.Bands.GetBottomBandItems(); topBandItems = profileView.Bands.GetTopBandItems(); UpdateBandProfileAndDataSource(PipeNetworkObjId, prof, bottomBandItems); UpdateBandProfileAndDataSource(PipeNetworkObjId, prof, topBandItems); profileView.Bands.SetBottomBandItems(bottomBandItems); profileView.Bands.SetTopBandItems(topBandItems [more...] Mar 19, 13 Civil 3D Reminders Computer SpecsThe Kung Fu drafter sent out a request through Twitter for the latest computer specs. Unfortunately I’m of an opinion the question has become irrelevant. It’s not irrelevant in the sense that computer’s aren’t getting better, but the AutoCAD, and by extension Civil 3D, aren’t developing with the hardware available. AutoCAD hasn’t joined the multithreaded software revolution. It probably never will, or at least for the product you purchase today. It appears that Autodesk has decided to skip multithreaded applications in favor of developing a replacement product on the cloud. For instance when I went to a Dell event releasing the latest Dell Precision Workstation products Intel presented where a small change in the code brought the time to do a complex tasks from hours to minutes. A truly astounding reduction in time to process. In the past year I’ve programmed some complex tools. One in particular was processing thousands of points and converting them to alignments, profiles, and labels for use in floodplain studies. The code was slow. It was largely slow because I was only able to use one of the eight cores on my computer, instead of all 8. If I was able to use all eight cores I could have done the tasks in about 1/7 of the time. The weakest link in the process was my needing to interact with AutoCAD. Since AutoCAD generally requires a single threaded interaction, my program was slower then it needed to be. All of the computations where simple math, they where just numerous.I currently do all of my design work in Virtual Machines. Partly to be able to program Civil 3D applications in a 32-bit environment, to debug with Visual Studio, and because I’ve found Civil 3D to be unusable with Windows 8. I haven’t seen any degradation of performance from going from 8 cores to 4 cores. So my 2 year old Dell Precision laptop is handling Civil 3D just fine. I can’t see any advantage to upgrading my computer the latest hardware, because it would probably be a waste of money. I occasionally do work for a large AEC firm doing levee modeling at one of there workstations. The levees are contained within drawings that go for a mile or two. I spend most of my time waiting for Civil 3D to build the corridor. It’s quite disappointing to have the time to look at the processor utilization and find that only one of the four cores is maxed out. The workstation is over three years old, I couldn’t honestly say it needs to be replaced [more...] Feb 6, 13 Civil 3D Reminders Getting Civil 3D Objects From XREFsWhile not advised, it is possible to get Civil 3D objects from an XREF. I’m not sure of the ramifications of modifying object after getting them in this manner, but one is able to read the Civil 3D object’s information. The code below goes and gets a variety of objects from an XREF and returns their ObjectIds. I even limit the returned values based on the layer they are on. 1: privatestaticvoid FindObjectsInXREF(GraphNode root, string layerName, string xrefName, out List polyObjIds) 2: { 3: polyObjIds = new List(); 4: for (int o = 0; o 5: { 6: XrefGraphNode child = root.Out(o) as XrefGraphNode; 7: if (child.XrefStatus == XrefStatus.Resolved && child.Name == xrefName) 8: { 9: BlockTableRecord bl = child.BlockTableRecordId.GetObject(OpenMode.ForRead) as BlockTableRecord; 10: foreach (ObjectId objId in bl) 11: { 12: Autodesk.AutoCAD.DatabaseServices.Entity ent = objId.GetObject(OpenMode.ForRead) as Autodesk.AutoCAD.DatabaseServices.Entity; 13: Type entType = ent.GetType(); 14: if (ent.Layer == xrefName + "|" + layerName && (entType == typeof(Polyline) || 15: entType == typeof(Polyline) || 16: entType == typeof(Alignment) || 17: entType == typeof(Polyline3d) || 18: entType == typeof(Polyline2d))) 19: { 20: polyObjIds.Add(objId); 21: } 22: } 23: } 24: } 25: }.csharpcode, .csharpcode pre{ color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; }.csharpcode .op { color: #0000c0; }.csharpcode .preproc { color: #cc6633; }.csharpcode .asp { background-color: #ffff00; }.csharpcode .html { color: #800000; }.csharpcode .attr { color: #ff0000; }.csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em;}.csharpcode .lnum { color: #606060; }asd [more...] Feb 5, 13 Civil 3D Reminders Select ViewportHere’s some code to select a viewport. I’ve made an extension to the Editor class. this way I can easily call it from other code. Most of the rest of the code was taken from an internet search when I was coding for viewport selection. I’m unsure of the original source, although a search of words finds it in numerous locations. publicstatic ObjectId SelectViewport(this Editor ed, string promptString) { ObjectId viewportObjId = ObjectId.Null; PromptEntityOptions opt = new PromptEntityOptions("\n" + promptString); opt.SetRejectMessage("\nObject must be a viewport.\n"); opt.AddAllowedClass(typeof(Viewport), true);//next lines are to allow for non-rectangular viewport selection opt.AddAllowedClass(typeof(Circle), true); opt.AddAllowedClass(typeof(Polyline), true); opt.AddAllowedClass(typeof(Polyline2d), true); opt.AddAllowedClass(typeof(Polyline3d), true); opt.AddAllowedClass(typeof(Ellipse), true); opt.AddAllowedClass(typeof(Autodesk.AutoCAD.DatabaseServices.Region), true); opt.AddAllowedClass(typeof(Spline), true); opt.AddAllowedClass(typeof(Face), true); PromptEntityResult viewportResult = ed.GetEntity(opt);if (viewportResult.Status == PromptStatus.OK) { Entity ent = viewportResult.ObjectId.GetObject(OpenMode.ForRead) as Entity;// It is a rectangular viewport.if (ent.GetType() == typeof(Viewport)) { viewportObjId = viewportResult.ObjectId; }elseif (true) {//Viewport is non-rectangular, attempt to get it from the selected clip entity ObjectId vpId = LayoutManager.Current.GetNonRectangularViewportIdFromClipId(viewportResult.ObjectId);if (vpId != ObjectId.Null) { viewportObjId = vpId; } } }return viewportObjId; }.csharpcode, .csharpcode pre{ color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; }.csharpcode .op { color: #0000c0; }.csharpcode .preproc { color: #cc6633; }.csharpcode .asp { background-color: #ffff00; }.csharpcode .html { color: #800000; }.csharpcode .attr { color: #ff0000; }.csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em;}.csharpcode .lnum { color: #606060; }It also provides a nice example to limit different types of objects during selection. Just remove the opt.AddAllowedClass(typeof(Spline), true); you don’t need and add the classes you want the user to select. It makes it easy so you have to worry less about the user selecting the wrong type of object. Just make sure to provide the error warning message first [more...] Jan 24, 13 Civil 3D Reminders Three Ring CircusSome exhibitors at Autodesk University are similar to small elementary school fairs, such as Quux Software. Other exhibitors have a three ring circus such as Hewlett Packard, also known as HP. It’s not surprising that HP would have a large presence at Autodesk University with the wide range of products they provide. They sell printers, plotters, laptops, and workstations! Oh my!Being a super small business, I found the HP Designjet T120 intriguing. A small footprint to not clutter up a small office too much with the ability to print out full size plans. While I’m not a fan of full size plans, I have printed out quite a number of sheets this year at the local blue print location. There is also the T520 ePrinter series. There’s lots of great features in these printers. Click the links to find out more.I was also interested in the HP Z1 Workstation. If I had a small office I’d probably look into the Z1 workstation. It’s got a small footprint since the computer is included in the monitor. So it would remove some of the cables. It would also make moving the computer easier. Plus opening it up shows that most of the innards are easy to access. I’m too lazy this evening to add pictures to this post. Feel free to mosey on over the HP’s website to get some fancy pictures of the products [more...] Jan 22, 13 Civil 3D Reminders App Store Structure ReportThere’s a new App in the Autodesk App Store for Civil 3D 2013. This gem of a program creates a visual representation of structures and I’ve dubbed it Create Structure Report. I know you are all jealous of my creative skills as demonstrated by this glorious name. It’s also a steal at $25 for the download. The sample output of the report may be found at this link. The user selects the structures they wish to have a report created for. The incoming and outgoing pipes are then shown in the report. You can tell the direction of the pipe by the words IN and OUT as well as the fancy colored arrows. The width of the pipe is also shown so you can visually see how far apart the pipes are going to be. The enormous white space at the top gives you plenty of room to draw doodles, or if you are more practical have your companies logo. There’s even a place to put some job information on the form. If you have numerous structures the report sheets may be put into an open Sheet Set. Plus if you ask really nicely you can get the source code of the project. This app is open source project, so feel free to contribute any bug fixes or additional features [more...] Jan 21, 13 Civil 3D Reminders Put a Wrapper on It!I’ve been using Google Docs for the past 10 months and with cloud services becoming a major focus, all I can ask of software developers is to put a Wrapper on the dang browser. The UI elements of a browser really suck for word processing, spreadsheets, and CAD programs. The ease of use just isn’t there like there is in a Windows or Mac based program. I quick and snappy right click menus. I miss the ability to use keyboard shortcuts to add and remove rows in a spreadsheet. If I wanted to back in time, in a UI perspective, I’d buy a 386 and get a version of CADKEY to put on it. Maybe it’s time for the browser to be acknowledge as a poor delivery of a UI interface for programs and have UI wrapper put on top of it to provide a 21st Century experience. I’m all for change, but I prefer change for the better, not going back in time to a 1.0 version of Excel. A UI wrapper for a web delivered program would go a long way in upgrading the cloud experience. That’s just my 2 cents [more...] Jan 13, 13 Civil 3D Reminders Civil 3D ImplementationIn my last post I was a bit negative about Civil 3D. How about an upbeat marketing type post? Well if you are looking for a feel good story then this post is for you. As many of you know, Implementing and Using AutoCAD Civil 3D is difficult, even almost impossible for some. Everyone that moves to the Civil 3D platform, needs a full time CAD Manager and Trainer on staff! Now this is not only an expensive need, depending on the number of staff, it can be simply out of the question! So what does a company do? They need to stay up to date with the leading design software for the Civil and Civil related industries, including the Survey side of the designs and construction. The software is not cheap. All users need hours and hours of training, they really need a 2 year program in order to truly use this software. Users also need, someone to help them on the spot when C3D is just not acting as expected. It can be overwhelming, but I have found an amazing service to help all of the Civil 3D users and companies that have or will be purchasing Civil 3D.It is this, TSC365, a service that provides all of the Training, Support and Consulting a AutoCAD, Map 3D and Civil 3D user needs to be, not only successful, and productive much sooner, but it should ease the entire process of implementing and using Civil 3D. This service available through a leading Civil 3D Implementation, Training & Support Consulting firm CADTECHS, that is growing at an amazing rate. They must be onto something! They have very recently partnered with another very successful and well known Civil Implementation, Training & Support Consulting firm APW-CTS. APW-CTS is very well known for their Civil 3D training videos, rGuides. The rGuides or a online recorded training program that is very similar to the standard 3 Day class most users attend when they first start “trying” to use C3D. Plus they have many more titles, beyond the standard classes. It is obvious that both firms focus on the services side of Autodesk software, as my own Company does.The rGuide training comes from another partnership with Retrieve Technology. They not only have over 200 Autodesk product titles available, but other software. Microsoft Office & Windows, Adobe, Microstation, Siteops, Engineering practices, and lots of titles that are not related to CAD at all. The ability to attend training anytime and anywhere, including from smart-phones, is a great concept. Knowing that at the moment I need to create and alignment for the first time, is just a login away is nice. Being able to watch it more than once, is great. The videos are keyword searchable, this is amazing! You can run a search for “how to import points” and get a list of where in that video the answer may be found. Add to that the closed caption in multiple languages and even voice overs. Could leave you wondering if what is being said is correct, but opens up the same training to a large portion of the World!Retrieve Technologies is also behind the technology of TSC365’s communications and training system. What this new technology does is, give users the ability to have video and screen capture communications with support and consulting staff at Cadtechs and APW-CTS. No need to go out and buy Camtasia or other screen and video recording applications, as this are built into the system. Simply start a message and choose what to add to the message, if anything other than text. Upload files, Upload video, Create Webcam and Screen capture videos, Embed other messages and training content, directly into the message.Here is a short list of some of key points of the TSC365 Program:Support, including “how-to questions” and available 24/7/365 Training, including for no extra cost is AutoCAD, Map 3D and Civil 3D training. If purchased separately this adds up to $529. Not sure of the total time of training, must be well over 50 hours, and available 24/7/365 Consulting services, content creation and help and available 24/7/365 I know what you're thinking, “this must cost a lot”! Get ready, because you’re about to say “ok, what’s the catch”. It is only $600 a year per user! And right now, until the end of the month, it is only $500!For full disclosure I have a business relationship with CADTECHS, which may explain the upbeat tone of the article. Hopefully that satisfies the FTC on disclosure rules for bloggers. Now if I can only get Retrieve Technologies to release number of units purchased for the Civil 3D 2009 VBA vBook I wrote [more...] Jan 10, 13 Civil 3D Reminders A Data Management or Object Management ProblemI have been using Civil 3D for the past 6 years. At first it was a great, although buggy, improvement over Land Desktop, unfortunately the product has stopped evolving. The program has seen improvements in speed, but it still dreadfully slow at regenerating viewports. The hype over BIM started three or four years ago, unfortunately all it has been is sizzle and with no meat. Some have blamed Civil 3D’s slowness on it being built on top of AutoCAD. Unfortunately I don’t think this is the case. The issue is the Civil 3D framework itself. Civil 3D Objects go through numerous checks to make sure it’s up to date when an object is asked to present it’s information. For instance clicking on a pipe object causes it to be opened and closed programmatically up to seven times. Now think about what happens when you print with a viewport with a drawing containing pipe networks. Each pipe object is opened and closed numerous times, even if it isn’t located within the viewport. Each and every object that is visible in model space is accessed. You’d think by now the programmers of Civil 3D would recognize this slowness and fixed it. I was working on a programming project that created viewports for corresponding profile views. There were 30 profile views in the drawing. Attempting to create layouts and viewports for the profile views took up to 45 minutes, if it even got there before causing Civil 3D to crash. The horrendous performance of Civil 3D was evident in this project when the all of the layers where turned off and the layout and viewport creation took about 45 seconds. Any time savings Civil 3D provides in labeling is quickly consumed by plotting out a set. Heaven forbid a last minute sheet gets added to a project after you plot the set. Do we really deserve to take an hour or two to plot out a large set of drawings?Now it looks like Autodesk is going to release and/or market to us about point cloud features in Civil 3D, or at least I’m guessing due to some Twitter activity. So Autodesk has spent the last three or four years marketing to us about BIM, failing to deliver any new complete features to make it a reality. Evidently they have been working on point cloud features instead of BIM features. I don’t quite get this push into point clouds. What’s the point if we only get a surface object? A surface object, if history is any indication, where we’ll have to winnow out a majority of the point cloud points to get a workable surface. If we can’t turn the point clouds into pavement, curbs, gutters, trees, retaining walls, pipes, signs, striping, curb ramps, sidewalks, and all of the other objects we design what’s the point?I personally don’t see myself interacting with point clouds, and I suspect a vast majority of engineers are in the same boat. I do know a majority of engineers design pavement, curbs, gutters, trees, retaining walls, pipes, signs, striping, curb ramps, sidewalks, spillways, detention basins, and all of the other objects. I think I’m at the point where I don’t renew my subscription in a few months when it comes due. Maybe it’s time I’m as tight with my software budget as Autodesk is for BIM features in Civil 3D. I guess you could say I’m a disgruntled customer.Some might indicate my rants are ill advised. But really this blog isn’t about pleasing Autodesk, or any other vendors. This blog is about reminders to myself. This one just memorializes my feelings on the state of the Civil 3D product and possibly a reminder on why I ended my Civil 3D subscription. Ultimately I’m just a consumer of a product and get to choose whether or not I purchase a product or not. The blog doesn’t make massive amounts of money for myself, and due to the small potential audience I doubt it ever will. Unless of course someone offers to to pay pre dot com crash money for the blog [more...] Jan 8, 13 Civil 3D Reminders MVC Web APIMVC Web API is used by some companies to provide APIs to let users access data. Most APIs are generally a REST type which have calls with names of GET (gets information), POST (sends data), PUT (update data), and Delete (removes data).It sometimes can be difficult to figure out to create the calls if you are doing it for the first time. For instance passing complex objects for the GET and POST calls can be confusing. To pass complex objects you use an identifier for the object being passed. For example for a GET call the method would look like this: public Product GetCrappyCivilBIMProduct([FromUri]Manufacturer autodesk)The [FromUri] indicates MVC should look for the manufacturer object from the Uri.For POST calls you would send the data within the request rather from the Uri. To do so you’d use something similar to this:public Product PostCivilBIMProduct([FromBody]Manufacturer)MVC will then look for the object within the request. If you try to use the [FromBody] for a GET it won’t work. If it you don’t set up the identifiers correctly the data will tend to not come through and show up as NULL. I thought this post needed a picture [more...] Jan 2, 13 Civil 3D Reminders Epson PrintersFor some reason writing over 725 blog posts and getting a mild following of readership lets you get invited to personalized marketing sessions with exhibitors at Autodesk University. Now I’m not quite sure how many people actually read this blog, or if it all comes from random Google searches. Regardless I feel compelled to continue on this grand life experience of mine that has gone on for the last seven years. In order to do so coming up with blog posts and inspiration sometimes becomes hard. Luckily for me Epson has given me a blog post topic. The topic is Epson’s new line of printers. With the economy starting to pick up it might be time to upgrade your plotter. Now you might be thinking that you don’t need a new plotter, your older one still prints out the plots. But are you missing out on the new technological advances available in today’s printers? For one there are cost savings in the amount of ink a plotter uses. I have no idea if the ink costs less, but as we’ve seen with the so called renewable energy price is no object when it comes to using less resources. Even if we have to throw out our currently working equipment. Plus the line of plotters are Energy STAR Compliant, so you’ll save energy when plotting. Epson printers also plots up to 110 plots per hour. Unfortunately if you use Civil 3D that feature won’t be much use for you, since Civil 3D only plots out at horrendously slowly due to poor object management during viewport regeneration. Do we really need every single Civil 3D object regenerated when we are plotting a viewport? Since you’ll have some time on your hands while you wait for civil 3D plots to finish, you can always choose to use the smallest ink refill sizes for the three options of ink cartridges Epson offers. This will provide you something to do while you wait for Civil 3D to finish plotting. If you take the time to explode the Civil 3D objects, making sure the rotation is correct in all viewports, then you might want to utilize the larger 700 ml cartridge. Don’t worry about choosing the size when you purchase the plotter, because Epson has made the cartridges interchangeable, so you can use any size cartridge that is offered. The plotters print both in black and white and color. I’m not one to get overly excited about print quality, but the prints at Autodesk University Epson had on hand were quite nice. The whole line of plotters may be found here: http://www.epson.com/cgi-bin/Store/jsp/Pro/SeriesSureColorTSeries/Overview.do?BV_UseBVCookie=yes Click on the link, because I think it was the main point of the article, except for my going off the rails for a small portion of the blog post [more...] Dec 20, 12 Civil 3D Reminders Data Shortcut BluesThere appears to be an issue in Civil 3D 2012, and maybe other versions of the software, where it won’t let you create data shortcuts. The prompt that comes up informs that you must save before creating data shortcuts. Unfortunately after a save one still gets the error message.One such cause of this error is corridors doing something automagically that causes them to change there status right after a save. It doesn’t happen to all corridor objects, just some of them. To get around this error lock the layer the corridor exists on. This prevents Civil 3D from changing the corridor’s state after a save [more...] Dec 7, 12 Civil 3D Reminders Toggle SurfacesThere’s a new App in the Autodesk App Store. The new App toggles all of the surfaces in a drawing from one of showing it’s self to one of not showing anything (or at least the surface with the list amount of things showing).The app cost is a reasonable $2 and is available now. http://apps.exchange.autodesk.com/CIV3D/Detail/Index?id=appstore.exchange.autodesk.com%3atogglesurfaces%3aenHere is a video showing the command in action: Unable to display content. Adobe Flash is required [more...] Dec 4, 12 Civil 3D Reminders AutoTrack - Integrated DesignWhen I think about integrated design Civil 3D is far from what I think of. Autodesk appears to be focused on the bright shiny things which they think will sell seats rather then integrating the design tasks a civil engineer needs to design. It's refreshing to see a company approach a product through an integrated approach with the AutoTrack product. Here's a video of one of the features of the program, roundabout design.Did you watch the video? Did you notice the striping changes with the grip changes? Did you notice the signs move and point towards the correct location? An integrated approach to design, where most of the linework to create a roundabout is created as you design. It is then directly linked to a corridor to build a surface. What's great is that you can modify the linework outside of the corridor, this way you don't have to wait for the corridor to get built to see the changes that will occur. AutoTrack also includes features for turning analysis, rail, airports, and rail. The product works with AutoCAD, Civil 3D, Bentley products, and Briscad. I currently do not do much work projects of the size necessary for this tool, but if I did I'd definitely look at using this product to make me more efficient. http://www.savoycomputing.com [more...] Dec 2, 12 Civil 3D Reminders Saving Volume AnalysisIcons are often times confusing, especially on dialogs you may not use everyday. One such place is the Volumes. On the palette there is a buttons to export and import volume entries from/to a file.The buttons are easy to use. Use the export button to create an XML file to reflect your volume entries, and then use the Import button to bring them back in. This way you won’t have to recreate them each time you open a file. If you are standardized on the names of surfaces, you can use the XML file for all of your files [more...] Nov 29, 12 Civil 3D Reminders Autodesk Expert Elite ProgramMan I take great pictures. Just look at this one that took place yesterday. Not quite sure why I have such a goofy face for this one.For some reason Autodesk thinks I’m Expert Elite and belong in a limited group of Autodesk users across the globe. Fairly cool getting a certificate, pen set, and some additional privileges. I think I might just crop Carl out and start using this picture as my profile picture [more...] Nov 29, 12 Civil 3D Reminders Autodesk University QuestionsAutodesk University is a great place to get answers to your questions. Sometimes it’s good answers. Like when I should a Civil 3D user how to apply superelevation to an alignment without a curve. Other times it’s not so good news like not having a civil BIM design program. If you missed AU and want to have an example of an answer, IMAGINiT Technologies was kind enough to answer a question. Below is the video, enjoy [more...] Nov 27, 12 Civil 3D Reminders PI Station LabelThere is a new App available on the Autodesk Exchange Store. It’s a PI Station Label command that uses a mLeader object to label a PI point on an adjacent polyline, alignment, or feature line. The price should be right at Free. So download it from this page: PI Station LabelAlso check out my other App: ExtractC3DSurfBoundarie [more...] Nov 27, 12 Civil 3D Reminders Subassembly Composer ClassNotes from this session:Cool idea link the slope and width value through the API. Using L2.slope and L2.Width instead of using the values. This way if I decide to use a different value, I only have to change it in one place.Use –infinity% (or infinity%) to get a vertical daylight to target a surface [more...] Nov 27, 12 Civil 3D Reminders Dueling Large Scale PrintersIt’s Autodesk University time. This year in addition to all the great classes there appears to be a battle of the large format printers, either that or I’m making it up. Today I got not one, but two press releases for large format printers. Who do I give top billing to? HP or Epson?Here’s some information for HP. They are located in Booth 120. “At Autodesk University 2012, HP is demonstrating its award-winning portfolio of cloud-based large-format printing solutions and all-in-one workstations. These offerings deliver mobility, simplicity and quality to design professionals.Found in the HP Platinum Sponsor Lounge and booth 120, the new HP Designjet T120 and T520 ePrinter series are the industry’s first web-connected, entry-level large-format printing solutions. Together with the free HP Designjet ePrint & Share web service, these devices provide large-format printing through the cloud from virtually anywhere. (1) HP is also demonstrating the HP Z1 Workstation, the world’s first all-in-one workstation with a 27-inch diagonal display.”Here’s some information from Epson. They are in booth 645.“Epson America will offer hands-on demonstrations of its new line of large-format color plotters at Autodesk University 2012 at the Mandalay Bay in Las Vegas this week. Epson’s booth (#645) will showcase the new T-Series line – the Epson® SureColor® T3000, T5000 and T7000 – designed specifically for today’s engineering and scientific professionals, including live demos and a variety of output samples on different media types. In addition, attendees are invited to stop by to enter for a chance to win an Epson SureColor T3000 24-inch plotter at the show.”Check out the booths if you are at AU or online if you aren’t able to make it [more...] Nov 21, 12 Civil 3D Reminders Civil 3D 2012–C3D Stock SubassembliesBelieve it or not there are some bugs in the subassemblies that ship with Civil 3D. In addition there are some cases in a design where a custom coded subassembly is the best solution. This is especially true when repetitive code is used that doesn’t work well in Subassembly Composer.To correct any bugs or create your own subassembly a good place to start is using the code that ships with Civil 3D. The code is located at:C:\Program Files\Autodesk\AutoCAD Civil 3D 2012\Sample\Civil 3D API\C3DStockSubAssembliesI usually copy the project to a different location. This way you can always get a fresh copy and you move it outside the Window’s UAC. Once open you first must add the correct references. The easiest way to do this is to set the Reference Paths:Next you might notice a plethora of errors showing up. This is because for some odd reason the programmers of the Subsassemblies, they did not like to declare all of their variables correctly. I guess they don’t believe in treating all warnings as errors. Strangely when you open the solution the check box on the compile tab of the project is set to treat all warnings as errors. Unchecking this box will remove all of the errors back to warnings. Next if you are using a 64-bit operating system, or not. You’ll want to change the build target type. To do this open the Configuration Manager.Next select the Active Solution Platform and select the option. Select AnyCPU from the list and base it on the x64 build.Next we need to change the target Framework. The setting is set to .NET Framework 2.0. Unfortunately Civil 3D uses .NET Framework 3.5. So go in and change the Target Framework to 3.5.Now rebuilding the solution and replacing the existing dll with the new one should then compile.C:\ProgramData\Autodesk\C3D 2012\enu\C3DStockSubassemblies.dl [more...] Nov 15, 12 Civil 3D Reminders Ask an Expert, Get a Video ResponseAutodesk University is coming up and the promotional emails are flying far and wide. One such promotion that hit my inbox is from IMAGINiT Technologies. This year they are offering to answer some of your most pressing questions with video responses, well three to five questions to be exact. Now I'm usually horrible at coming up with questions, so I need your help in coming up with some questions. Best of all the best question provider will win an IMAGINiT branded brain teasing wooden puzzle. So if you have a questions and want it answered by an IMAGINiT expert, leave a comment below. The deadline for the questions ends this Monday, November 19 at Noon. So act fast if you want a chance for your question to be answered [more...] Nov 11, 12 Civil 3D Reminders Civil 3D 2013 TemplateIf you are lazy like myself you don’t want to spend time setting up a Civil 3D Template in Visual Studio Express, you just want to download a file and get started. Well here is a Civil 3D 2013 Template for VB.NET that may save you some time. The only think you may have to do is make sure all of the references are resolved. The resolved location should be C:\Program Files\Autodesk\AutoCAD Civil 3D 2013 or where ever you installed Civil 3D.For mor information check out these links:http://wikihelp.autodesk.com/AutoCAD_Civil_3D/enu/2013/Help/API_Developer's_Guide/0007-Getting_7/0008-Setting_8http://through-the-interface.typepad.com/through_the_interface/2006/07/debugging_using.htm [more...] Oct 25, 12 Civil 3D Reminders Full Size PlansI dislike full size plans. I think it’s the worst part of being an engineer. Rolling them up is a pain. If you walk and take public transportation as often as I do keeping them nice and un-sweaty is a worrisome issue. I’d much rather look at the plans on a computer, tablet, or half size. Unfortunately plan checkers insist of full size plans.Now that I’ve built up large format printing, you might want to know that Epson has released a new line of large format printers. I don’t have room for one, but maybe you do. Check out their website for more information.http://www.epson.com/cgi-bin/Store/jsp/Pro/Home.dohttp://www.epson.com/cgi-bin/Store/jsp/Pro/SeriesSureColorTSeries/Overview.do?BV_UseBVCookie=ye [more...] Oct 22, 12 Civil 3D Reminders Adding PVIs to a ProfileAdding a PVI to a profile is relatively easy. There are some checks you will have to do. For instance you have to make sure the PVI station is within the alignment’s station range. Also you can’t add the second PVI with a lower station value then the first one. I think that’s about it. Here’s a small code snippet showing how it’s done:Profile profile = profObjId.GetObject(OpenMode.ForWrite) as Profile; double sta = 5; double elev = 6; profile.PVIs.AddPVI(sta, elev [more...] Oct 15, 12 Civil 3D Reminders RoundingExpressions can be hard, especially when you want to do hard things. Sometimes you may want to round to the nearest 0.1%, but show two digits. Not sure why one would want to do that, but if you did here’s an example of an expression that will do such a thing. (ROUND({Pipe Slope}*10))/10If you want the nearest 0.5% then this expression should work:(ROUND({Pipe Slope}*2))/2Happy expressioning [more...] Oct 11, 12 Civil 3D Reminders MLeader DirectionAdding multileaders to a drawing is fairly easy, one tricky item that isn’t quite evident is how to set the direction of the mLeader, where the mleader goes from left to right or right to left. In order to do this we can check the start point and the end point of the leader. In the small code snippet below I’m creating a vector that goes from left to right, if the start point to end point shows I need to go in the opposite direction then I make a vector to reflect this. MLeader mld = new MLeader();int ldNum = mld.AddLeader();int lnNum = mld.AddLeaderLine(ldNum); mld.AddFirstVertex(lnNum, poly.GetPoint3dAt((int)selectedPolyVertexParam)); mld.AddLastVertex(lnNum, endPt); Vector3d vecDir = new Vector3d(1, 0, 0);if ((endPt.X - poly.GetPoint3dAt((int)selectedPolyVertexParam).X) { vecDir = new Vector3d(-1, 0, 0); } mld.SetDogleg(0, vecDir);.csharpcode, .csharpcode pre{ color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; }.csharpcode .op { color: #0000c0; }.csharpcode .preproc { color: #cc6633; }.csharpcode .asp { background-color: #ffff00; }.csharpcode .html { color: #800000; }.csharpcode .attr { color: #ff0000; }.csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em;}.csharpcode .lnum { color: #606060; }Then the code sets the dog leg based on that direction. In my example I only have one leader, but if you have more you will need to make sure you apply the dog leg to the correct leader, rather then the first one in the code above [more...] Oct 10, 12 Civil 3D Reminders Selecting an ObjectUsually when you want the user to interact in selecting an object you want them to select a particular type of object. You don’t want to trust their ability to read the command line. In order to do this you can restrict what type of object AutoCAD will allow to be selected.PromptEntityOptions opt = new PromptEntityOptions("\nSelect polyline near vertex to label: ");opt.SetRejectMessage("\nObject must be a polyline.\n");opt.AddAllowedClass(typeof(Polyline), true);ObjectId polyObjId = ed.GetEntity(opt).ObjectId;.csharpcode, .csharpcode pre{ color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; }.csharpcode .op { color: #0000c0; }.csharpcode .preproc { color: #cc6633; }.csharpcode .asp { background-color: #ffff00; }.csharpcode .html { color: #800000; }.csharpcode .attr { color: #ff0000; }.csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em;}.csharpcode .lnum { color: #606060; }To do this use the PromptEntityOptions to add allowed classes. The hard part I usually come across is finding the class name. To easily discover the class name we can use the typeof() method passing the object type, in the case above Polyline. AutoCAD will then restrict what’s returned to this class type [more...] |
|
| All product names are registered trademarks of their respective owners. | Copyright © 2003-2013 Novedge LLC |