Quantcast
Channel: CAD Tips, Tricks & Workarounds
Viewing all 34 articles
Browse latest View live

Introduction

$
0
0
Hello,

I'm pretty new to this whole blogging thing so be gentle with me.  This is going to be nothing more or less than a collection of useful (useless?) information that I've picked up over the last several years of working with Autodesk® Vault Professional® and Inventor Professional® software.  Tips, tricks and workarounds.  These might be things I've figured out on my own through trial and error, or they may be taken from the Autodesk® discussion forums, where I've been known to hang out from time to time (translate: I'm usually logged in all day long!)

I hope some of this is helpful to you, and I'm more than open to being gently chided, corrected or led in a new direction.  This is stuff that I've figured out... doesn't mean that it is necessarily the right way or the only way to do something.  So.. no guarantees on anything you read here, no warranties... no nothing.  :D

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”

Tube & Pipe Grounding

$
0
0
Okay,...

So have you ever spent any amount of time working on an Inventor ® Tube & Pipe assembly, with multiple sub-assemblies... getting everything just perfect, only to return to the top level assembly and accidentally click and drag your tube & pipe runs?  They move!  Freely!  They move, and all of your careful, hard work explodes before your very eyes.  After thanking your deity of choice for the existence of an Undo button, try this:

When you create your first T&P run in an assembly, Inventor creates a top level sub-assembly beneath which all of your pipe runs will reside called Tube & Pipe Runs:

Tube & Pipe Model Tree

As soon as this is created (along with your first run), return to the top level of your assembly.  Use mate and align constraints to constrain Tube & Pipe Runs.iam to the top level; origin plane to origin plane using all three origin planes.  Then for each individual pipe run sub-assembly you create, constrain that to Tube & Pip Runs.iam.... origin plane to origin plane, just like you did to the top level.  Do this before you place any fittings or sketch any routes.  Now your runs will stay put where you modeled them, as if they were grounded.

This doesn't seem like much, but if you remember to do it before you start running pipe or adding fittings, it can make life a whole lot nicer!

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.” 

Frame Generator, Parts list sorted by both Part Number and Length.

$
0
0
At the company where I work, we build a lot of welded steel frames.  Tube steel, angles, channels etc.  Nearly every piece of equipment we build has some sort of welded frame either large or small.

To make it easier on our welding shop, we try to format our drawings so that the parts lists show the cut length of each piece of steel.  Our purchasing system gives a distinct part number, not to each cut piece of steel, but to the steel profile and size.  For example: L1.5" x 1.5" x 1/4" steel has a part number, regardless of the length it is cut to.

In order to avoid a parts list that takes up an entire sheet in our drawing set, especially for large frames, we decided long ago to sort our parts lists by both Part Number and Length parameters.  Unfortunately, the Inventor BOM editor only allows grouping parts based on the Part Number parameter.  The result is that if you have multiple pieces of steel, with the same part number but cut to different lengths, the Length column shows the value as "Varies".  Well, that's not very helpful, so whattya gonna do?

It was actually some discussions on the Autodesk ® Discussion Forums that led me to this solution (workaround).  First, a little background fact from Frame Generator.  Every frame member generated by Frame Generator contains a parameter called "G_L", which is the final overall length after all end treatments have been applied.  Knowing that, I was able to put this formula into the "Part Number" field in all of my frame BOMs: =<Cost Center>-<G_L>.

"Cost Center" is a standard iproperty on all parts in Inventor, I chose that simply because we were not using it for anything else.  So, I put the formula into the Part Number field, and put our Part Number into the Cost Center field.  I do this ONLY on Frame Generator members, everything else I leave as is.  What I get as a result, then, is a combination of the two values separated by a dash, as in: 123-45678-001-36.000 in.  With these values combined, I can now group by part number and have them roll up common lengths into one row in my BOM.






So, that takes care of the BOM, now I need to make the Parts List in my .idw show this in such a way that each Part Number length combination has a row complete with a quantity of the number of pieces cut to this length.



For the columns I use "Item Qty" as Qty and simply change the heading of the Column in the Column Chooser screen of the Parts List editor.  For Part Number, I actually use the Cost Center property, and again, change the column header to Part Number.  For the Length column, I create a new property called "G_L" so it will pick up the value of that pat parameter. 


I change the column header on that to Length, and the result is what you see above.  To ensure that this is done for every frame drawing we create, I built all of this into a template file which is used for all frame detail drawings.  I also added the formula to the Part Number column of all of my Frame Generator parts in the Content Center, so that it is automatically generated into each new component as it is created.

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.” 

Autocad Electrical® creating Items in Vault Professional 2013®

$
0
0
Wow, it's been a while since I've done anything that impressed me enough to consider writing about it.  Summer doldrums?  Short attention span?  Well, whatever it was, I've just completed a challenge that no one else seemed to know the answer to, so it may be worth writing about.  If this is all painfully obvious to you, my sincerest apologies!

The challenge was to be able to assign Items from an Autocad Electrical 2013® project, and get my company's internal part number to be the Item Number on the project and all of the components.  The Project was fairly easy to do with Vault® mappings, as I had the control panel BOM number right on the drawings... it was easy to extract that property and map it.  For some background information on managing Properties in Vault Professional 2013® see this wiki help link:

http://wikihelp.autodesk.com/Vault/enu/Help/Help/0170-Administ170/0205-Client_A205/0239-Properti239

The big challenge was to force the panel and/or schematic components to use our internal number as the Item number.  The component, by itself, does not have any mappable properties.  By default, when assigned to an Item, components use the Catalog number from Autocad Electrical's ® catalog.  I was attempting to use the catalog's "User1" property to enter our part numbers.  However, any attempt to map the Vault ® property "Number" (which is used to set item numbers) to User1 by mapping to the electrical project was a complete failure.

Let me back up, and share some mapping tips I pulled from several posts on the Autodesk ® Discussion Forums.  Without repeating everything in the wiki link above, on the property "Number", any mappings that are on the "Mapping" tab should be deleted, since they will override the mappings that apply to the Item numbering scheme.

Mapping tab of Number Property Editing Window

Here's another wiki help link on numbering schemes:

http://wikihelp.autodesk.com/enu?adskContextId=ID_NUMBERSCHEMES&language=enu&product=Vault&release=Help

My Item numbering scheme is set to Mapped, which will use the mappings set up on Number, under the "Settings" tab.  This is a bit unique to this property because of how it works with numbering schemes.

 
Item Default Numbering Scheme

Settings Tab and Mappings for Property Number

You can see in the image above that I have several file properties mapped to Number under the settings tab.  The second and third were the easy ones, since these properties existed in the files and were easy to grab.  The property "bom#" came from my Autocad Electrical ® project template (.wdp file).  The Autodesk Inventor ® property "Part Number" came from my Inventor ® drawing template.

The property "USER1" was the one I could not get to, until I did a little digging.  I figured out that, by default, components form the Electrical ® catalog were taking the catalog number when assigned Items.  This property also was not available for mapping from the project file.  After a lot of hair pulling and some hand wringing, I decided to look at what properties were available for mapping from one of my schematic drawing files.  Sure enough... Catalog Number was in there!  User1, however, was not.

Closer examination of the schematic I was playing with revealed that none of the components I used had my part numbers entered in the catalog.  Lights came on and bells dinged in my head.  Could it be that simple?  I set up a test project and drawing, and placed several random components which I knew DID have part numbers under USER1.  I saved the files and checked into the Vault ®.

With those files safely tucked away in Vault ®, I went back to my mappings window (see the image above), and attempted to map USER1 from the Autocad ® drawing instead of the project.  Under the "import properties" tab I selected the test drawing I had just checked in.  Since the drawing contained components which actually used the "USER1" field, I was able to map it successfully.  Next, from my Vault ® Client I found the test project and selected "assign Item".  The list of Items came up with all of my part numbers as the Item numbers.  It was a beautiful thing.

So, the moral of a long story is, before you attempt to map a "user" field from the catalog in Autocad Electrical ®, first create a "seed" drawing that contains components where that field is in use, and check it into Vault ®.  Then use that file to create the mapping.

I'm sure I'm missing something here, so feel free to comment and, as always, ask questions or tell me how wrong I am!  :)

Many thanks to Mr. Randy Brunette of Autodesk ® for helping me get my thought process going to figure this out.

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”

Lose the unit string on G_L in Frame Generator

$
0
0
When using Frame Generator in Autodesk Inventor®, many people will incorporate the value of the member length (parameter G_L) in either the part number or description field in the BOM.  I was asked online how to use the value of G_L without that pesky unit suffix, as in: 250mm, 24 in etc.  If your drawing states somewhere that all dimensions are in inches, or millimeters... there is no need for the unit string.  There are a number of overrides that can be used on individual parts, or BOMS that will rid the document of this string, including some ilogic that I saw... I don't do ilogic, at least not yet.

I wanted to get rid of this string at the root so it would never show up in the first place.  BTW... this tip will work for the unit string of any parameter in a model, not only G_L.  So... as posted in the Autodesk ® Discussion Forums, here is what I did to get rid of it.

In Inventor go to Open From Content Center, then select the family you want to change.  Select any member of that family, it doesn't matter which one.  I tend to select a medium sized one just so it's easier to play with. Open it "As Custom" and give it a length that you can see to work with. (.001 is usually the default!)

Open From Content Center


 
Open As Custom


Once you have the new custom part opened,  go to Parameters.  Find G_L, then hover over the Equation value for it, right click and select Custom Property Format:



Parameter Window
In the dialog box that opens, uncheck the box for "Unit String".  This will remove the units from the tail end of the length.  Note the preview at the top.

Units String


Hit OK, then Done in the parameter window.  Save the part.  Remember where you saved it, this is important.  Now go back to the Content Center and find that family again.  (Manage\Editor)  Right click on the family in the Editor window and select Replace Family Template.

Replace Family Template


A file window will open, navigate to the file you just modified and select it by double clicking it.  Inventor will chew on it for a minute or two depending on the size of the Family, but SHOULD come back with a "Successful" replacement.  The changes you made to that part are now propagated to the entire family, and any steel used from that family will no longer show the unit string when G_L is shown anywhere.

This process needs to be repeated for any families that you want to make this change to.

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”

Revision Control from Item Master - Part 1 - Rev Tables

$
0
0
Well, it's been a hell of a couple of weeks over here.  Several shout outs of thanks forthcoming in this post.  For a number of reasons we made a decision a while back to modify the way we were handling our revision control through Autodesk ® Vault Professional 2013. A little background might be helpful.  We currently use Autodesk ® Autocad 2013, Autodesk ® Autocad Electrical 2013 and Autodesk ® Inventor Professional 2013, in addition to the aforementioned Vault package. 

For so many reasons that I don't really want to relay them all here, (and doubting any of you would get past the first few paragraphs), we decided to change our revision control from File to Item.  This means, among other things, giving up the Vault Revision Table (VRT).  So the question became, how do we handle showing our revisions on drawings?  The easy answer was to simply place them manually with blocks or tables edited by the user.  To me, this opens the door to a lot of human error.  I was looking for some way to, at least partially, automate this process like the VRT, only using properties from the Item Master.

First thing I had to do was to disable the VRT, and then change the lifecycle rules in Vault so that a revision bump only occurred when going from Released to Work In Progress in Item Master.  A few property mappings and some Category rules later, and I started to work on the new revision table for Inventor.

Now, here is where the shout outs are going to come in.  With Autodesk ® Inventor, I knew I had to setup my revision table in the styles editor... since it HAD been setup for the Vault table.  So I set it up using custom properties, which were mapped from the Item Master, so that a Vault "Update Properties" would do just that.  The problem was how to lock down the table rows of previous revisions.  I knew I could manually go into the table and set these rows to static in order to lock in those values.  But that was just not cool enough, I wanted to automate it.  So, I enlisted the help of the Autodesk ® Discussion Forums... knowing there are some bright minds out there who are well versed in the customizations that I need to learn badly.  I figured there had to be a way to do this with an iLogic rule that would automatically find the last row of the revision table, copy it to a new row, and then set the now previous row to static values.  Then I could simply run the Update Properties command, and the new row would take the latest property values from the Item Master... leaving the previous revision information untouched.

Kudos and many thank yous to fellow Expert Elite member, Mr. Jonathon Kriek, for providing me, in what seemed like no time at all, with the following rule which does exactly what I describe above.

Dim oDrawDoc As DrawingDocument = ThisApplication.ActiveDocument

' Get the revision table
Dim oRevTable As RevisionTable = oDrawDoc.ActiveSheet.RevisionTables.Item(1)

' Get last row
Dim oRow As RevisionTableRow
oRow = oRevTable.RevisionTableRows.Item(oRevTable.RevisionTableRows.Count)

' Make sure we have the active row
If oRow.IsActiveRow Then
    ' Go through all columns in that row
    For i = 1 To oRevTable.RevisionTableColumns.Count
        Dim oCell As RevisionTableCell = oRow.Item(i)
        ' Set all cells to static
        oCell.Text = oCell.Text
        ' or static and blank
        'oCell.Text = ""
    Next
End If

' Add another row at the end
Dim oRows As RevisionTableRows = oRevTable.RevisionTableRows
oRows.Add()

So, with the above code, I am now able to semi-automate the new vault revision table.  We use ECO's in Vault, so this is the procedure I follow now.  When I get a change order, I change the state of the Item to WIP, which bumps the revision.  I then Edit the Item to fill in the new revision information.  I use User Defined Properties (UDP"S) to push the info out to the drawing.  Revision Author, Approved, and Description.  The Revision itself comes from the lifecycle rules I have in place.  The date is set to the date that the drawing is modified.  Once these are set, I do a "Get Revision" on the CAD file, but do NOT update properties when prompted.  That would be a bad thing.  I run the rule on my rev table, and then Update Properties to fill in the new row with the new properties.  Piece of cake!  Thanks Jonathon!

I thought this was pretty slick, so I moved on to Autodesk ®Autocad.  We still use vanilla Autocad for a lot of our non-electrical schematics, so I needed to come up with a new rev table there as well.  The VRT in Autocad utilizes the Table command, so I had to find a way to do something similar to the solution above with an Autocad table.  I played around with what can be done in tables and came up with a workflow that I thought I liked.  After following the same ECO procedure as above, I wanted to be able to open the drawing and Get Revision (without updating properties), modify the revision table to add a row and then lock the previous row.  In my table I set the cells to be Fields, using custom drawing properties which were mapped to the same Item Properties that I used in Inventor.  So they updated perfectly when the properties from Vault were updated.

Once again I turned to the programming gurus in the forums for help with the next step.  In what seemed like the blink of an eye (these guys are good!), I had a sample AutoLisp program written for me by Mr. Lee Mac ( http://lee-mac.com/)

(defun c:tabmod ( / c i o r s )
    (if (setq s (ssget "_:L"'((0 . "ACAD_TABLE"))))
        (repeat (setq i (sslength s))
            (setq o (vlax-ename->vla-object (ssname s (setq i (1- i))))
                  r (1- (vla-get-rows o))
            )
            (vla-insertrows o r (vla-getrowheight o r) 1)
            (repeat (setq c (vla-get-columns o))
                (vla-settext o r (setq c (1- c)) (vla-gettext o (1+ r) c))
                (vla-setcellstate o r c accellstatecontentlocked)
            )
        )
    )
    (princ)
)
(vl-load-com) (princ)

This program finds the table, copies the last row to a new row in order to get the fields.  It then sets the cells of the previous row to Text, maintaining the value.  Then it locks the content of that previous row so it cannot be modified.  Now the new row is set for Update Properties.  The whole thing is fast and silent, you don't even realize what just happened.  Thanks Lee!

I was so confident by this time that I was certain the same program would work for Autodesk ® Autocad Electrical (AcadE).  I could have been more right.  I forgot that the only way to pull properties onto a drawing, from the Vault, is through the project manager in AcadE.  And these cannot use fields like Autocad.  AcadE needs to use a block with attributes, and these attributes need to be mapped to project properties through the project.wdt file.  This file maps attributes to the Project Descriptions which are edited through the project manager or are mapped from Vault.  So... the table was out.  I started playing with a block with the attributes mapped to the project in the .wdt file, and with a little practice I got that procedure down.  The descriptions are set up as Line Items in the project.wdl file, a text file that simply lists the line # and what property is associated with it:
 
    
Autocad Electrical Project.wdl Descriptions File
The .wdt file then lists the attributes that go with each line number... so they can find each other.  First giving the block name, and then mapping each attribute to a certain line item in the .wdl file.

Autocad Electrical Project.wdt Attibute File
So, using this I was able to get a table that accepted the Vault properties, mapped to the appropriate description in the project.  But, how to get a new line item while leaving the previous line intact.  I remembered seeing something in the Express Tools menu that would explode attributes to text.  Burst is the command name, but how to make use of it.  I created a secondary block with the same attributes, which was a single line of a revision table... no header.

Revision table block with header and Revision table single line item block - Tool Pallette
 So for now, I simply place this new block, burst the previous line item (or the main block if there is only one revision) and then update properties to populate the new block.

I have enlisted, once again, the help of some new online friends for the following code which locates a specific block and bursts the attributes to text. Thanks to Lee Mac once again, and Henrique Silva - also a fellow Expert Elite.

(defun c:burev (/ pfst ss)
  (if (setq ss (ssget "_x"'((0 . "INSERT")(2 . "e-revtable"))))
    (progn
      (setq pfst (getvar 'PICKFIRST))
      (setvar 'PICKFIRST 1)
      (sssetfirst nil ss)
      (c:burst)
      (setvar 'PICKFIRST pfst)
    );; progn
    )
 (princ)
 );; burev


I haven't quite figured out where I want this to go yet... for the moment the manual burst seems to be working.  I've added the blocks, as well as the burst command to my tool pallettes to speed it up a bit.  I may have to think about this one some more.  Seems a shame to waste good code.  Thanks Guys!

So... three CAD systems, three different solutions to the same challenge, three custom programs to do the job.  My hand is getting tired from all of this typing, so I'm just going to end this here and call this part one.... stay tuned, more Item Master changes are coming soon!

Enjoy!


“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!

Using Design Review for markups in an ECO.

$
0
0
The Autodesk ® Vault Professional Engineering Change Order markup feature is, at best, limited in it's scope and size.  Even with the ECO window maximized on a 21" monitor, the markup window space is pretty small.  The markup tools are fairly rudimentary and there is very little room for customization.  My engineers, in a word, hate this tool.  We have all, at one time or another, had cause to use Autodesk ® Design Review for something, and everyone here wishes that tool had been built into the ECO system as the default markup tool.  Granted, in the markup window, one can right click and choose Open In Autodesk ® Design Review, but once there,... there is no way to save the markups back to the change order.  The benefits of Design Review are the screen size, the markup tools and ability to add comments to those markups, and track completion of them.  There is also the ability to create and manage custom symbol catalogs which are not available in the ECO markup window.

This has been bugging me, so I played around until I found a workflow that allows one to use Design Review to create markups, and even modify an existing ECO markup.  This is something that could not be done right in the markup screen.  Attempts to add markups to an existing file ended with a prompt to save the new markups to a NEW markup file.  So if an engineer missed something, or wanted to add notes to his/her markups the ECO would end up with multiple copies of the markup file with different data on each one.  Mass confusion.  Here is the fix.

Inside the ECO window (remember to always right click an ECO and choose Edit.... never, ever double click a change order.  Ever.) select a file from the files tab and begin a markup session using the tools available.  All you need is one simple change made in order to be able to save the markup to the ECO.  Click the Save button, name the file and hit Save.  Now locate the new markup file in the browser to the left, right click and select Open.  You will be prompted to check out the file, select Yes.  The file will open in Design Review with all of the tools available to continue or add to your markup.  Once satisfied, save and close the Design Review file, and exit the program.  Return to the Change Order screen and find your change order.  You do not need to open or edit the change order for this step.  In the preview pane, Select the Files tab and find the markup file.  Right click and select Go To Folder.  This takes you directly to the file in Vault.  Notice that the file is still checked out to you.  Right Click the file and select Check In.  Hit OK on the dialog box.  Now return again to the ECO and Edit the change order.  On the files tab you should notice the changes you made to the markup in Design Review are now there, without having to add additional markup files to the list.

Your welcome.  Enjoy!

Revision Control from Item Master - Part 2 - Getting Started

$
0
0
Hey there.  So in Part 1 of this series I gave a rather lengthy overview of all of the different revision table styles I created, with the help of some customization gurus, for placing revisions on my drawings from the Item Master in Autodesk ® Vault Professional 2013.  This time around I thought I'd go into a bit more depth on how I got started on the Vault side, and how I set up the Autodesk ® Inventor table.  Then I'll do a couple more parts if needed to get into more detail on the Autodesk ® Autocad and Autodesk ® Autocad Electrical tables.

First thing I had to do was to decide what properties I wanted to use to fill in the revision tables.  I decided that a grouping of User Defined Properties, the same grouping I used when I set up the Vault Revision Table, would work for this as well. I had to add these to the Item so that users could edit them when they process a revision through an Engineering Change Order.  To do this, I edited the several Vault Categories I have set up to handle different revision schemes (alpha for proposals, numeric for projects etc).  Under the Vault Settings\Behaviors\Edit and Manage Categories, I clicked the Assign button on each category I wanted to add these to.  A list of available Item properties comes up, and you simply select the ones you want, and click Add.

Assigning Properties to an Item Category
The list of available properties comes from the Property Definitions manager, under Vault Settings\Behavior\Properties.  Properties can be set to associate with Files, Items, Folders, Change Orders or Custom Objects.  The properties I used for my revision tables are associated to Files and Items, though the file mappings are really only used visually in the Project Explorer screen.  It's the Item mappings that are important.  As you can see I have mapped this property (they are all done the same) to a similarly named custom property on the CAD file in all three systems I use.  The mapping is done in one direction; from Vault to the File, and is set to create the property on the file if it does not already exist.

Mapping Vault Properties
With these settings in place, a user Edits an Item and enters the appropriate information.  For several of these I created a list of values on the property settings to allow for quick selection, but did not set it to enforce this list.  That way a user can enter a name or a description other than those already in the list.  Once the properties are edited and the Item saved, these properties will be pushed out to the Cad file the next time it is checked out from Vault, and Update Properties is run in the Cad application.

Editing the Properties on an Item

Now... onto the Autodesk ® Inventor side.  With the Vault properties set to be updated in my inventor drawings, the next thing was to set up a new Revision Table in Inventor to accept these properties.  I opened my drawing template file and went to Manage\Styles Editor, then scrolled down to Revision Table.

The default revision table in most of my newer drawings was set up to run with the Vault Revision Table.  Using an older ANSI style that was leftover from before the VRT, I created a new style and edited it using the Column Chooser.  Column Chooser brings up a list of all available properties on the drawing you have open.  The chooser dialog box allows you to select these properties and add them to your style, move them up or down, or remove unwanted properties.  If the property you want is not in the list, you can add it using the New Property button.  Make sure you add it using the exact name of the corresponding Vault property.

In my case, I did not want the revision table column headers to be the property names.  These were too long for me. In the editor shown below, to change the column header, simply click in the column name and change it.  The property remains the same, but this is how it will show up on your drawings.

Revision Table Settings in Inventor Styles Manager

Column Chooser Dialog Box


Once all of the columns are selected, set the width of each and set anything else on the page that you want to; fonts, title etc.  After you have modified they style to your heart's content, make certain that you add it to your Object Defaults.  This step tells Inventor which available style to use for almost everything in your drawings.

Object Defaults Editor

So now the new revision table style is created and set as the default in your drawing template file.  Don't forget to save at this point!  If you have multiple templates and want to add this style to all of them, you can export the completed style to a .xml file.  Right click on the style and select Export, then point it to a location where you can find it later.  Then, in your next template file, go to Revision Table and hit the Import button at the bottom of the dialog screen.

This is more of the mundane business side of setting this up.  For the truly cool part... you have to refer back to Part 1 of this series, where I detailed the ilogic rule that controls the revision table's behavior.  Now, after editing the Item in Vault, I run that ilogic rule to lock in any existing rows on my revision table and create a new one.  Then using Update Properties, it magically fills itself in with the current revision information that matches the Item in Vault.

Part 3 and or 4 of this series will go over the creation of the revision tables for Autodesk ® Autocad and Autodesk ® Autocad Electrical.

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”








Autodesk ® Autocad Symbol Libraries for Autodesk ® Design Review

$
0
0
 Hello all.

In this entry I address something fairly simple, and yet so (IMHO) poorly documented, that it took me quite some time and a few grey hairs to nail down the procedure.  I'm referring to creating a custom symbol catalog for Autodesk ® Design Review, using blocks from Autodesk ® Autocad.

The procedures for this seem to be spread out between Autodesk ® Design Review help files, Autodesk ® DWG TrueView help files, and a number of Autodesk ® Discussion Forum posts on several different forums.  Piecing together information from several of these sites I was able to figure out a procedure that makes this actually quite simple.  I'm posting it here to hopefully save some folks from having to do all the research across all of those other sites.

The procedure starts out simply enough, you need to create an Autocad drawing file (.dwg) containing a collection of blocks that you would like to group as a catalog in Design Review.  Open the drawing in Autodesk ® DWG True View software.  Now the secret is in creating and using a Block Template file.  This was one of the details I found hard to find help for.

In DWG True View, Use the Publish tool under File, Publish.  Set up the sheet list as needed.  Set the Publish to: to DWFx format.  Then on the right hand top of the dialog box, select the Publish Options... button.  The shot below is the sub-dialog that opens.

Block Template File Dialog Box



























In the middle section under DWF data options, Block Information, set to Include.  Then go to the next line for Block template file.  Click in that field, and grab the down arrow on the right.  A list of available files, or Create and Edit are your choices.  If this is your first go around, Create will be your choice.

Publish Block Template before Scanning


Your source drawing will appear in the top section of the dialog that opens.  Select the button Scan for Blocks.  This will create a list of all unique blocks in the source drawing, as well as properties from those blocks.  The properties will be used later to decide how your symbols appear in the menu in Autodesk ® Design Review.  I generally uncheck all of the properties except for "Name".

Publish Block Template Dialog Box  

When you have selected all of the blocks and properties you wish to publish, hit Save.  You will be prompted for a file name and location.  The extension of a block template file is .dxe.  When you return to the Publish Options screen, hit OK, then Publish on the main Publish window.  Once the block template file has been published, Autodesk ® Design Review will open the DWFx file you just created.

On the Markup & Measure tab in ADR, pull down the Symbols button at the end of the panel.  A number of catalog creation options become available.

Catalog Creation Options
Select Create Catalog from DWF, to create a catalog of symbols from the DWFx file you just published.  You will be promted to select the DWFx file that contains the block information (even though you currently have it open on the screen).  You will be prompted to Name the catalog.  Also you will have the choice to import each object an all sheets, or to import each sheet as a symbol.  For the method I am describing use import each object.  Next you will be asked to select from the list of block properties, which one will be used as the symbol label.  This is why I uncheck all of the properties except for "Name".  If you left all of the properties in the block template file, scroll through the list and select whichever one you want to use as the symbol label in the catalog, and hit OK.  All of the symbols in the DWFx will be added to the catalog, and are now ready to be used in markups.

To create catalogs that have similar content, I created several block drawings, and ran through this whole process 6 times, creating 6 unique catalogs instead of one very large one.  Since I had to make these available on about 14 different user's computers, I chose to export the catalogs to a shared drive so they could be easily added.  To do this, pick the Symbols button again and go to Manage Catalogs.

Manage Catalogs
A list of available symbol catalogs will open, simply select the catalog you want, and select Export.  You will be prompted for a name and a location again.

Export Catalogs
Once you have exported all of the catalogs you want to share, go to each person's computer and open ADR.  Select the Symbols button and Manage Catalogs.  This time use the Import button and select the libraries you want to add.  You will have to select them one at a time.  Still quicker than re-creating each one on every computer.

So now you can add custom symbol libraries of your standard Autocad blocks to Autodesk ® Design Review, which will save people having to try to sketch them in print markups, on ECO's or however you choose to use them.  This tip brought to you just in time to receive the news that Autodesk ® Design Review will soon be discontinued by Autodesk ®.  Sigh.

Enjoy?

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!

Revision Control from Item Master - Part 3 - The Autocad Revision Block

$
0
0
Hey there!

This is the third and final part of this series.  In Part 1 I gave an overview of the three different solutions for adding revision tables to drawings in Autodesk ® Inventor, Autodesk ® Autocad and Autodesk ® Autocad Electrical.  Part one also included the various snippets of iLogic code and AutoLisp programs being used to control the revisions, with the revision data coming from Autodesk ® Vault Professional's Item Master.

Part 3 here will detail how I created the revision table block that I use in Autodesk ® Autocad, along with the lisp program I posted in Part 1.  In Part 2 I covered a bit of the setup on the Vault end, and how I set up the Inventor revision table to work with the Vault properties and the iLogic code.  The revision table setup for Autodesk ® Autocad Electrical was covered in Part 1, and is fairly straight forward so I don't plan to go into more detail on that one unless I make some major changes to it.  if so,... that will be part 4!

The revision table for Autocad began with a table, setup with  the columns I want to show in a standard revision block.

Revision Table before Block Command
The fields of the table still need to defined at this point, but since Autodesk ® Vault properties cannot be mapped directly into the field of a table, I needed something else to map them to.  Block attributes seemed to be an easy solution, but this isn't a block yet.... so there are no attributes to map the table fields to.  My head started spinning about now.  I created a block with 4 attributes, Rev, Revby, Revapp and Revdes.  I set them all to invisible in the block, and then inserted the block into my working drawing.  (In my case this just happened to be the drawing where my tool palette blocks are store, since I planned to add the finished product to a palette.)

Right clicking in the fields of the table (which at this point were still blank), I selected the option to Insert Field.  Under Field Category, I select Object.

Field Definitions in Table

Under Object Type in the center section of this dialog box, I picked the button next to the as yet empty field, which takes me out to a "select objects" prompt.  I want to link these fields to the attributes in the block I just added to my drawing, but since nothing is visible, there is nothing to pick.... so I enter "L" at the command prompt to select the last item added to the drawing.  The field definition window grabs the newly created block and now looks like this:

Field Definition with Block Reference
The attributed of this block are now available to be assigned to the fields in my table.  For the first column "REV", I assign the attribute Rev and hit the OK button.  I repeat the steps for each of the remaining fields until they have all been assigned to the appropriate attributes in my invisible block.

Now I am ready to make a block of this table that can be placed in my drawings via the tool palettes.  But since I need to bring those attributes along for the ride, I need to nest the invisible block within it.
Calling the block command, and using the "Select Objects" button, I first type "L" at the command prompt to grab the Last object added, which at this point is still my invisible block with the 4 attributes.  I then select the table itself, give the block a name and an insertion point and check the box that says "Allow Exploding".  This is important for use with the lisp program.  Save the block and it should be ready to use.  In my case, since I was working in my palette block drawing, I saved the overall drawing, and then dragged the newly created revision block to the appropriate tool palette.
I right click on the new palette item and select Properties, then set the block to explode on insertion.

Palette Properties
Notice that the lisp program "tabmod" (code listed in Part1 of this series) is located beneath the new "REVTABLE" block.  When this block is inserted from the palette, it explodes on insertion, exposing the table.  Using the Autodesk ® Vault "Update Properties" command will pull the properties from the Vault Item Master which are mapped to the 4 attributes in the magical invisible nested block, which in turn are tied to the field definitions of the table (the leg bone's connected to the thigh bone?), and populates the table with the property definitions for that drawing, as set in the Autodesk ® Vault Item Master.  The tabmod program, which will be called at the next revision, locks the cells of that first table row, and adds the next row... ready to accept updated properties from the Item Master.... and so on.

It's been a while since I actually set this all up, so I'm hoping in the interim I haven't forgotten any steps.  As always, this is what worked for me, I never claim that my tips are the only solution to a given problem.... or even that they are the right solution.  So as always, take these for what they are worth to you and...

EDIT!

And to further illustrate that these are not always the perfect solutions.... this didn't work at all!  Oy.  One of those, hmmm... it worked yesterday things.  My fix is to create Autocad custom drawing properties for each of the properties in the revision block, and corresponding to the properties being pulled in from Item Master.  If the Item Master properties are set to "Create", these will be created for you in your drawings whenever you do a Get Revision.  In my master block in the palette source file, I changed all of the table fields so that they were mapped to these properties.

Custom Drawing Properties
So far this is working better... but I'll keep you all posted.  My apologies to any of you that tried this and got frustrated that it wasn't working.

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!

Flange studs that work with Autodesk ® Inventor's Bolted Connection

$
0
0
Typical Flanged Connection with Stud Fasteners

Most of the work that I do involves using Autodesk ® Inventor's Tube & Pipe feature.  That means a lot of flanged connections.  In our industry, most flanged connections are held together with studs, nuts and washers of various materials.  Inventor's Bolted Connection wizard on the Design Accelerator does not have the ability to include studs in a connection, nor are there very many stud families in the Content Center.  For sure there are no ANSI standard studs.  This tip gives a workaround that allows you to use Bolted Connections with studs.  The trick?  Make Inventor think your studs are actually hex head bolts!

To get started on this, I first opened a Hex Head bolt form the Content Center, as custom, and saved it into my playing around folder.  My intent was to deconstruct it and see how it had been authored and published.  You can view the way a Contrent Center part is authored by re-authoring it.  For a fastener this command is on the Manage Tab of the ribbon, in the Author panel.

Component Authoring Command Tool
The Component Authoring command window has two tabs, the first of which shows the physical layout of the authoring.  Here you designate the Placement Edge, Cylinder Axis, and then an Orientation Plane for placement.  These three create iMates on the part which are used when the bolt is placed either manually form the Content Center, by using the CC's Auto Drop feature, or from Inventor's Bolted Connection interface.

Component Authoring Layout Tab
The next tab on this window is the Parameter Mapping tab.  Here part or user parameters are mapped to required authoring parameters.  This tab gave me a list of the required parameters for authoring an item as Hex Head bolt.... regardless of what it looked like.

Component Authoring Parameter Mapping Tab
With this information handy, I set about creating my stud part.  The geometry was extremely simple.  I was more concerned about making sure I had all the right information for those required mappings.  Nominal Length and Nominal Diameter were easy, I used model parameters for these, as well as the thread information.  For Head Height and Grip Length, I created user parameters that I could easily tabulate in the Content Center.

Model Parameters
Once I had the model created and saved, I used the Author tool on it.  Under category I selected Hex Head and selected the three iMate locations.
Authoring Tool - Layout


Next I mapped the required Hex Head parameters to those in my model that I had created.  As long as everything is assigned, this part will successfully Publish as a Hex Head, and will be recognized by Bolted Connections.


Since I did not create this part as an iPart, there was only the one size available when I published the part to the Content Center.  But that's ok, I didn't feel like manually adding all of those different diameter and length combinations.  So, once the part was in the CC, I opened up the Family Tab;e of a Hex Head bolt, and edited it using Microsoft Excel ®.

Hex Head Family Table w Excel ® Edit Button
With the Family Table open in Excel ®, I saved the file out to a working location, so I could edit it without harming the Hex Head family.  I closed this editing session without saving any changes, and proceeded to edit the new spreadsheet I had saved.  I removed any columns form the table that did not apply to my stud part model, and added a few for iproperties that I am mapping to and from Vault.  Then, back in Inventor I edited the family table of the stud part and opened it using Excel ®.


With both tables open in separate sessions of Excel ®, I copied the contents of the former Hex Head table into the more recent Stud table.  I saved it and closed, returning me to the Family Table editor in Inventor, with all of the sizes and lengths that were in the original hex head table.  Once I added all of my part numbers and other custom information, I was able to save and had a full table of useable studs.  I can now take this family and copy it as many times as I need for different materials and specs.

Completed Stud Family Table

Enjoy!

EDIT:

It occurred to me last night that I did not explain how I got the leading edge of the stud to protrude from the nut and washer as shown in that first image.  My apologies!  It's really quite simple.  During the authoring stage, when the iMates are placed on the stud, but before you publish the part to the Content Center, one of the iMates needs to be modified.  the insert iMate which defines the insertion point of the fastener.  Find this in the list of iMates in your model browser, right click and select Properties.  Add an offset value as shown below, this may vary depending on how much of the fastener you want protruding.  I chose a simple 1/2", but it needs to be a negative to have it protrude away form the insertion point.  The protrusion on the opposite end will be determined in the Bolted Connection process.  Now you're ready to publish.  Sorry for any confusion this caused!

iMate Offset for Protrusion
 Enjoy... again!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!

Quick tip for placing Pipe Fittings

$
0
0

Hey there.  Been a very busy couple of weeks, some big projects rolling in.  I haven't had time for much other than drafting.  But, since I had a small break in the action this morning while waiting for a large assembly to load, I decided to put together this quick tip from Autodesk ® Inventor Tube & Pipe.

When working within a pipe route, it is sometimes necessary to have multiple copies of the same fitting available on the screen.  Or sometimes you just want to quickly place one copy of an existing fitting.  The temptation here is to use copy and paste functions, in order to avoid having to keep going back to the Content Center.  Content Center is great, don't get me wrong.  But it can take some time to open and navigate through large libraries to locate a single fitting.

Inside of Tube & Pipe, however,... do not EVER EVER use copy and paste.  Bad things happen.  All might seem well at first, but now try to delete one of these fittings.  There is at least a chance you will be unable to do so.

A quick tip to use, is the "Place Fitting" command.  Normally this command takes you to a file window to navigate to a file outside of the Content Center.  But with this little tip, it can be used for placing a CC part without the CC being opened.  It's so simple it took me by surprise the first time.  The secret is that the fitting has to be somewhere in your assembly already.... even in a different sub-assembly.  Simply locate the fitting in question either in your currently active sub-assembly, or in the assembly browser.  Pick the fitting to preselect it, then pick the Place Fitting command.

 
Place Fitting Command


A copy of the selected fitting will be brought in, with all of the normal piping options available (Place, Connect, Insert).  If you use this, and place the new fitting over the top of an existing one, it will replace the existing fitting, as long as it is possible for the fitting to work in that location.  For example, placing a tee over an elbow will replace the elbow.  You may have to toggle the orientation, but again this is quicker than using the Replace Fitting and scrolling through the CC.  This has saved me a lot of time rummaging through a very large CC to find something that is right in front of me on the screen.  Not earth shattering.... but I hope it helps somebody out there!

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical ® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!

Just checking in....

$
0
0
Hey all of you one or two people who actually read this thing.  I've been away for a while, doing actual paid work (not nearly as much fun).  I just wanted to say that I'm not going away, and as soon as I come up with something that I think is fun or exciting, I'll do more posting.

In the meantime, I'm getting my desk cleared off as much as possible in anticipation of Autodesk ® University 2013 in Las Vegas, Nevada.  December 3-5.  I get there Monday afternoon, and will be attending the Freshman Orientation (3660 on the schedule, 5-6 pm, hosted by none other than Ms. Lynn Allen!) in the evening as a mentor to first time attendees.  Not quite sure how that's going to go, but I'll do my best not to steer anyone wrong.  I know my first year I wished they had done something like this.... I was lost the entire week and had no desire to come back the next year.  Now I'm on my 4th year and can't wait to get there.

Later that evening I will be going to what is being billed as BSM360, a clever name we came up with to play off of Autodesk's ® affinity for the "360" name.  This is a blogger, social media and Expert Elite party.  I'm looking forward to finally shaking the hands of some of the fine people I talk to every day on the Autodesk ® Community forums, and on Twitter.  So many people with so much knowledge and talent that I never quite feel like I measure up to being counted as one of them.  But then self confidence was never my strong suit.

The rest of the week will be filled with classes ranging from Vault topics, to some customization and programming classes.  Throw in a few more parties along the way including the annual AUGI Beer Bust in the Exhibit Hall, and this is shaping up to be a great AU.

I will be taking what passes for a laptop with me, and I will be blogging updates and interesting stuff as I run across it.  I'll be posting pictures, rundowns of things I've learned etc.  So follow along and it will be like you're there with me.  And if you ARE going to be there.... look for me!  I'll be hanging around the AUGI booth and the Expert Elite Booth in the International Community Pavilion of the Exhibit Hall most evenings... or wandering around with a beer checking out other exhibits.  Or look for me on the AU2013 mobile app, on there I am Christopher B.  On Twitter @CGBenner.  Shoot me a message or a tweet.

Here's to a great AU 2013!!

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical ® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!

Filling Gaps in Pipe Routes in Inventor ® Tube & Pipe

$
0
0
Hey there!

This morning a co-worker happened to walk into my cubicle just as I was performing a procedure in  Autodesk ® Inventor Tube & Pipe, one that I do so often that I take it for granted.  He asked me to repeat the procedure because he was intrigued by what I was doing.  I didn't think it was anything spectacular, but he thought I should write about it.... so here goes.

From time to time, in Tube & Pipe, I run into a situation that cannot be resolved with a simple route change.  I generally (but not always) see this when I am dealing with a lot of "fitting to fitting" connections.  That is, connections where there is no pipe spool between a grouping of fittings.  Sometimes when a change becomes necessary and you need to move some of these fittings around, the only way to do it is to break all of the connections on the grouping, and then re-connect them as the situation calls for.  (Is that a run on sentence?)  The problem with this, is that when a route is connected to this grouping of fittings, the route ends up hanging out in the breeze once the fittings have been reassembled.  In this example, the valve and flange were moved up to the elbow causing a gap in the route.

Gap In Pipe Route

The original layout, shown in the next picture, used a standard socket weld flange.  The engineer marked up a .dwf of the model and asked me to change that to a spigot flange and move it up to the elbow along with the valve.


Engineer's Notes

The first thing I did was to bring in the spigot flange from the Content Center.  I used the "Insert" piping option and placed it into the elbow at the top of the image.  With that in place, I could safely remove the pipe segment directly below, without sacrificing the elbow as well.  So the next step was to edit that pipe route, and delete the segment below the elbow and new spigot flange. With the pipe section gone, I next disconnected the gasket and valve.  To do this I right clicked on each one and selected "Edit Fitting Connections".


Edit Fitting Connections


To disconnect the fittings, simply pick the listed connections (one at a time), and press the "X" in the upper left.  Once the fittings had been disconnected, I used the "Connect Fittings" command on the toolbar, and re-connected them in their new location.  So with the new spigot flange, and the gasket and valve moved.... I had a gap in the piping as you saw in the first image above.



Correcting that would be so easy, if only Tube & Pipe had an "Extend" feature... but alas, it does not.  So... what I like to do is this:  Edit the route.  Select the "Route" command from the toolbar and pick the bottom of the valve as a starting point; route a short section ending in space above the endpoint of the lower route segment.  I do not connect this new route segment to the existing one, as this would cause an "Auto-Route" to be created.  I try to avoid Auto-Routes as much as humanly possible, since they do not tend to update well when things inevitably move or change in your design later.

Delete the dimensions from both the new short segment, and the existing segment, so neither one is dimensioned or fully constrained.  Add a coincident constraint between the two endpoints, joining them.  Then, window around the joined intersection point of the two segments, and delete the point.  The two segments will become one, and a driven dimension will appear on the line like magic.

When you finish the route, the new segment should populate (assuming the route you are working on has already been populated).  And you can quickly jump up a level and save before something horrible happens.

Finished Pipe Segment
I had attempted to create a short video of this process, but I guess I haven't got the knack of it yet, or maybe I just don't have good recording software.  I hope I explained this well.  This is only one example of where you may run into a need for this.  So good luck and as always...

Enjoy!


“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical ® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!

AU2013 Live (sort of) Blog

$
0
0


MBS International airport.  First stop on my journey to Las Vegas for Autodesk's annual gala of learning, networking and technology.  As this week progresses I will be posting my thoughts and experiences for whomever may care to follow along.  Wi-Fi is weak in this terminal so.... this is about it for now.  Short layover in Detroit won't allow me any time to write so I'll see you all in Vegas!

All right! Made it to Vegas, checked in and got my cool tote bag and a sharp looking Charlie Harperesque bowling shirt with the Expert Elite logo on it!  Now I'm preparing for one of the most important events of the week.  Freshman Orientation with Lynn Allen, Autodesk technical evangalist and all around nice person.  I've foolishly volunteered to be a mentor this year, so first years beware!  More to come as the night rolls on, and plenty more tomorrow.  Stay tuned.


This was part of the scene as over 1,000 Autodesk University freshman files in for some words of wisdom.  155 mentors and several speakers shared tips and advice, and then Lynn Allen gave away a free pass to next years conference.  I didn't win.  The t-shirt gun went off several times as well to a few lucky winners.

I'm back in my room at the Venetian now and recharging all of my devices.  Getting ready for the Blogger Social Media Meetup (BSM360) later this evening.  Maybe I'll have some pictures from that later.




Just a few of the shots I took at the Blogger Social Media Meetup last night.  Good times, lots of great people, free beer... but the pizza never showed up.  Hmmmm.  So after this I was pretty much ready for some sleep... still on Michigan time.  

Then this morning:


Breakfast with 10,000 new friends!  This picture does no justice to the size and scope of the meal hall.  Super friendly staff help guide you to a buffet, and then you find a table to sit at.  I try to find new people at every meal, you never know where you'll make a new friend, and that's part of why we're all here.

I'm currently finishing a coffee in one of the lounges, getting ready to find my first class.  I'll check back in soon!


This was the THRONG trying to file in for the keynote this morning!  A sea of humanity.  The theme of the keynote was "The Answer is Outside".  Autodesk CTO Jef Kowalski and CEO Carl Bass talked about changing our mindset and thinking outside of our normal ways if working.



Hard to see in these tiny iPod pics, but this is special guests Penn & Teller who opened the presentation with their usual wit and, of course a cool magic trick.  Sber companies were highlighted who exemplafied thinking outside in their innovations.  For me, however, the star of the show was Iris.  Iris is a robotic camera dolly designed by Bot & Dolly using Autodesk tools.  Bot & Dolly created the robotic camera arms used in the recent hit movie "Gravity".


Pretty awesome morning so far!  Lunch in the hall was tasty, and accompanied by more networking opportunities.  The only battle I am fighting so far is the Wi-Fi!  if I want to live blog in the future I think I need  smart phone or tablet!  I am literally recharging and preparing for more classes this afternoon, so.... more later!

It's Wednesday morning now and my dogs are barking.  A lot of walking, it makes me glad for all those hours on the treadmill.  Coffee time and a quick check in here before another long day of classes.  Last night was spent in the Exhibit Hall, visiting some of the vendor booths and hanging out in the Community Pavilion.  I wandered between AUGI and the Expert Elite kiosks and basically mingled.  Food, drinks and reggae music were the backdrop to several hundred exhibitors showing off the latest tech, giving away prizes or tossing toys to the crowd as they passed by.  There is something for everyone.  At our Community Pavilion we even have 6 classic arcade video games setup... no quarters needed!  So... upstairs now to find my first class and see what awaits me today!

I won big in Vegas!  Ok, so it's only a backpack, but I never win anything!  Thursday morning... the coffee is barely holding me up.  Long day of very good classes yesterday, time at the answer bar, and then the AUGI beer bust in the Exhibit Hall.  Spent most of the evening at the Community Pavilion with my fellow Expert Elites.  Almost forgot to mention my photo op at lunch with Carl Bass, Autodesk CEO.

Breakfast this morning was decent, now getting ready for my first class.  I filled out my conference survey and got a "cool" AU t-shirt.  Big times on Vegas!

Happy New Year and Thank You!

$
0
0
Just a quick post to say thank you to everyone who actually visited this site this past year.  This was an experiment just to see if I had it in me or not.  The fact that so many of you read it and liked it was a bonus to me.  If I was able to help even one of you in some small way then I exceeded my expectations.

In the following year I will try to keep this going and post new ideas as they pop into my head.  I'm going to be doing some experimenting with programming so maybe I'll have some posts about my progress in that.  If you have any ideas for topics you would like to see me write about, comment on this post.  I won't make any guarantees, but if time allows (and I know something about what you are asking for...) then maybe I'll post on your topics.

Once again thanks to all of you who have read my ramblings, and I wish you all a very Happy New Year!

Enjoy!

Share your ideas!

$
0
0
Good morning!

I've been away for a while again.  Working hard on CAD drawings and Vault cleanup.  As some of you know I spend a lot of time in the Autodesk ® Discussion Forums, either asking for advice or offering it when and wherever I can.  I quite often see people posting, as questions, thoughts on what they perceive as features that are missing from their CAD software.  It occurred to me this morning while answering one such question, that many people are not aware of the Autodesk ® Idea Stations.

While not every forum currently has one of these, there is one for both Autodesk ® Inventor and Autodesk ® Vault.... which are the two areas I tend to spend the most time in.

http://forums.autodesk.com/t5/Vault-IdeaStation/idb-p/2

http://forums.autodesk.com/t5/Inventor-IdeaStation/idb-p/v1232

So, what is the idea station?  This is the place to go to post ideas that you have about functions or features you believe should be added to your Autodesk ® software in order to improve useability or to address some specific problem you are having.  This is NOT the place to go to complain about what you don't like or what the product can't do.  This would simply be unproductive, and certainly wouldn't advance your cause.  The way they work, is that you post your idea or suggestion in as much detail as possible, including pictures or screen shots or anything else that would help to illustrate what you are looking for.   For example, if your idea is posted to address a specific problem, you may post a screen shot of the problem as an example.

Idea stations are routinely looked at by Autodesk's ® development people, and they do take these suggestions seriously.  Ideas are ranked based on reader's votes, or "kudos".  Ideas that get more kudos, get more attention.  So the thing to do is post your idea and then sell it!  Post in the regular product forums and let people know you have just posted a new idea, and invite them to check it out and vote for it if they like it.  Jump on Facebook or Twitter or wherever you interface with your CAD colleagues, and post a link to the idea.  The more you sell it the better the chance it will be looked at.

Here is the catch.  There are thousands of ideas out there, and only so many hours in a day.  Some ideas may be accepted by the developers, but (believe me!) might not make it into a new product release or update for quite some time.  We have to try to remember that these people are as buried with piles of work as all the rest of us, and they are only human.  Easy to forget that since we are the customer, and expect satisfaction.  In my experience, Autodeskers ® are very receptive to productive ideas that get a lot of votes.... but it just takes time to implement these.

So go ahead and share those ideas, and if you haven't spent much time in the Autodesk ® Community forums... join up!  Lots of great folks in there willing to help you out and even a "Break Room" forum for non CAD related discussions.  It's a great online community experience.  You might even "see" me in there.

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical ® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys! 



Populating Autodesk ® Inventor iProperties from the Content Center

$
0
0
Did you know you could do that?  It's pretty powerful, and actually powerful easy to do once you know the trick.  You can make any column in an Autodesk ® Inventor Content Center family table send metadata out to the iproperties of the generated parts.  What you do with that metadata after that is up to you.  In my setting, I use a lot of it to map to properties in the Autodesk ® Vault Item Master.

This can be done with either custom content that you have published from your own iparts, or with standard content that you have copied to a read/write library in the Content Center.  When you create an ipart in Autodesk ® Inventor, any iproperties that you add to your ipart table as columns will automatically map themselves back to that iproperty when you publish the ipart to the Content Center.  For standard content that you copy to your read/write library, however, you may find that only certain properties (Part Number, for example) are already mapped for you.  Anything else you want to map, or any mappings you want to change around, you will have to add yourself.

As an example, I've chosen one of my pipe fittings, a CPVC 90 degree elbow.  This was published from a custom ipart that we already had modeled up years ago.  However, now, there is information I would like to have sent to the part's iproperties in order to trigger some Autodesk ® Vault properties when the part is checked in and added to the Item Master.  I want to take the "Member" column metadata (which came right form the ipart table), and map it to the iproperty "Subject".

To do this is very easy.  On the Manage tab in Inventor, pick the "Editor" button to open the Content Center editor window.  Navigate to the CC family you wish to edit, and right click on it, selecting "Family Table" to open the family table editor.  Locate the column whose metadata you want to capture.  Right click on the column header, and select Column Properties.  You should see a section titled "Map To Inventor Property", with a pull down below it.  Select the pull down menu to see a list of available properties to map to.  Note that an iproperty in Inventor may only be mapped from one Content Center column.  If the property you wish to map to is not visible in this pull down list, it is probably already mapped from another column somewhere in that family table.

Map To Inventor Property

Once you have mapped all of the columns to properties that you need for that family, select OK at the bottom of the editor. You should see a pop up which tells you "Published Successfully to the Selected Library".  Hit OK again and close down the Content Center Editor with the "Done" button on the lower right.

Now to test your results.  I suggest creating or opening a dummy assembly file for the testing, you'll see why in a moment.  When you first use a Content Center part in Inventor, a part file is generated and placed in your default Content Center location, as determined by your Application Options file settings.  Every subsequent time that you place that same part, it retrieves it from that folder in it's current form.  So, to test your modified family, you need to know if the parts have already been generated or not.  In your dummy assembly, use "Place from Content Center" on the Assemble Tab.  Place an instance of the family, and look at the part's iproperties.  If this is the first time the part has been generated, you should see the mapped property filled in.

 
iProperty Successfully Populated



If the part has already been generated, the iproperty will remain blank, or will retain whatever value was in it before.

iProperty on Previously Generated Part

So now the question is, how do I get this part to accept the new information from the family table?  Easier than you think.  The way you do this will depend on the size of the table, and the number of instances you need to update.  In a relatively small family I will do the update right here in my dummy assembly file.... get it over with.  For a very large family I tend to use this update tool on my production assemblies regularly, to catch any out of date content parts as they come up.  Anyway, here is what you do.

Place as many instances as you plan to update, and then save your assembly file.  It must be saved before you can update the parts.   On the Manage tab, select the "Refresh" button, normally located next to the Editor button you used earlier.

Refresh Standard Content

Click the Refresh button at the bottom of the dialog box, and Inventor will update the Content Center part with any new information or changes made to the family table.  If you use Vault, you will be prompted to check out the parts in question so that the changes can be saved to the Vault file as well.  Once the process has run, check the iproperties on the part once again.

Updated Content Center Part

You can also add columns to a Content Center family if there is information you want to map to an iproperty which is not already in the family table.  Adding columns and creating expressions in family tables.... that's for another day.  ;)  So I hope this was helpful in getting data from a Content Center table into an Inventor part's iproperties.  And as always....

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical ® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!

AutoCAD ® Electrical Symbols on Tool Palettes

$
0
0
Hey there!

Wow... this one has been a while coming.  I posted a teaser a few weeks ago thinking I had the question answered, and all I had to do was write the post.  Then a few more hours of testing turned up some show stopping problems and I pulled the teaser... dejected and frustrated.

Some of you may not know what I'm talking about, so here is some background.  AutoCAD ® Electrical has a massive symbol library of schematic symbols for electrical, hydraulic/pneumatic and for P&ID's.  It also contains a huge library out of the box of electrical panel footprint symbols, for creating physical panel layouts.  All of these libraries are fully customizable.  you can add to them, subtract from them and even modify the existing symbols through the Symbol Builder tool in the program.  These symbols are all accessible through an Icon Menu that has multiple screens and nested menus.  This is also manageable through the Icon Menu Wizard tool.

Autocad Electrical Icon Menu

Lots of flexibility there, but not the most user friendly interface, in my humble opinion.  Of course, it may just be that this is not the way I am used to doing things, coming from so many years of using plain AutoCAD ® for all of our schematics.  It may even go all the way back to having all of my symbols right in front of me on one of those massive tablets we used to use back in the day.

AutoCAD Menu Tablet R14

Anyone remember these?  They could be configured to include custom commands or symbols pretty much anywhere on the tablet, but primarily in the empty top section.  You could edit the menu file, and there was a drawing of this tablet screen where you could add or delete or move things around.  Plot it off, tape it down and off you went.



These days my preferred method for inserting blocks is the tool palette.  if you have not looked into all that tool palettes can do for you, I highly recommend you do.  Take a look on the Autodesk ® University website, there are several online classes from past AU's that are available for download.  In Autocad we have several palettes that contain our symbol libraries for both electrical and flow diagram schematics.

A little over a year a go, we made the decision to switch our electrical schematics to AutoCAD ® Electrical.  This was mainly due to the fact that it was added to our Product Design Suite.  We had it.... let's use it.  So, I set about learning the basics.  I am by no means an electrical designer.  It's a language I simply do no speak.  We've gotten pretty proficient at using the AcadE to create our ladder diagrams and panel layout drawings, but I know I have a long way to go toward leveraging the real power behind the software.  Meanwhile, I learned that AcadE can also be used to create P&ID's.... a large part of our business.  By using the same software for both schematics, they can be linked in a single project and tag numbers on the P&ID can be associated to tags on the electrical diagrams.

Well, project work gets first priority here, as you can imagine.  Have to pay the bills after all.  Special projects get more of a back seat.  So, it's been quite a while since I first looked into this conversion.  Now that I am jumping into it with a little bit of time to work with, I decided to try to figure out a way to put the P&ID (and eventually electrical) symbols onto our tool palettes to simplify things.  After several failed attempts using a variety of methods, I was ready to throw in the towel and embrace the icon menu path.

So, once I started down that road, I posted a question of the Autodesk ® Discussion Forums for AutoCAD ® Electrical, asking if it were possible to dock the icon menu somewhere so I wouldn't have to keep opening it up every time I wanted to place a symbol.  A very talented individual, who has helped me in the past but whose real name I do not know, suggested that I take a look a the API help for AutoCAD ® Electrical.  Now, I've heard about the API... but I never thought I would ever touch that area.  But, on his advice, I looked under the Help menu and saw "Additional Resources".... under which I saw API Help, and found my way into a place that can only be described as a treasure trove of customization tools.  I don't know why I never thought to look here before.

It wasn't long before I found a tool that might do what I was looking for, and it was so simple that I laughed at all of my pathetic efforts to date.  I had no idea what I was looking for.  I figured it might be in the section under Schematic Components, so I opened that section of the help up and found a list of commands and a description of what each one did, and examples on how to use them.  Working my way down the list I found this:

AutoCAD ® Electrical AutoLISP Reference
The description shows that this is a way to call the Insert Component command from the command line, and skip the Icon Menu.  You provide the block name, and specify a value for the parameters following it.  So simple.  I tried it out and it worked from the command line immediately.  If it can work there, it can work on a tool palette.  I added a command to my test palette, and put this as the command string:

(c:wd_insym2 "HDV1_VLV_BLK" nil nil 1)

The block name is in parentheses, and if no path is given, the system will use your preset search paths.  The two "nil" parameters allow for user input for the insertion point, and next set the scale to 1 for the block.  The option 1 at the end tells it to open the component editor as soon as the block is placed.  This does exactly what the icon menu does.... right from the convenience of my tool palettes.  I was a very happy man when I saw this.  Now I just have the tedious task of turning all of my old symbols into smart AutoCAD ® Electrical symbols, and creating the commands on my palettes.... I should be done by..... summer?  Maybe?  Meanwhile, I'll have to dig back into that API and see what other trouble I can get myself into.  More later?

Enjoy!

“Autodesk ® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical ® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!

Inventor Tube & Pipe Wish List Part 1

$
0
0

Hello out there!  Anyone still with me?  It's been a long time since I've had the time to post.  Anyone who has seen my posts on Twitter or Linked In or on the Autodesk ® Discussion Forums knows that I am heavy into using Inventor's Tube & Pipe module.  You may have also seen that I make no secret of my belief that this module is long overdue for a major facelift.  It's a good system, but it is also responsible for more than a few of the grey hairs on my head!

I thought I'd put forth a few of my ideas for how this could be improved, based on my real world pipe design experience.  This entire post will be my own opinions and thoughts, backed up with some snazzy pictures, and if I can figure it out, maybe a video or two.  So... let's dive right in!

Changing or resizing fittings on existing Pipe Runs.

 Inventor Tube & Pipe works very well with few issues when you are designing a pipe run that is made up of a length of pipe with fittings placed inline along it, allowing spaces between the fittings.  An example of an easy pipe run:

Example of smooth pipe route.
In this example, the elbows have all been determined by the route and were placed when the route was populated.  They will not move or change their orientation unless I edit the route and change the direction that way.  The fittings that have been placed inline may be rotated in any way I choose, since the axis of rotation is the center line of the route.

Sometimes, however, the pipe runs I need to deal with do not have these nice long spaces between fittings populated by a pipe spool piece. In many of our designs I am dealing with a pipe run where the fittings are placed face to face with other fittings, with no intervening pipe length.  The axis of rotation for any given fitting, now becomes the connection point on either end of the fitting.  The more connection points, the more potential rotational axes.  Example:

Face to Face Pipe Run
In this example, the pipe segments you see are actually flanged pipe segments that we created, since a lot of our piping is plastic lined steel piping, and each spool piece is hand made to a specific length.  Rather than place each one as a fitting, we wanted the flexibility to change the lengths on the fly as the design is progressing.  I created a base spool as a pipe conduit in Inventor and placed it into several Tube & Pipe Styles.  This will be covered in greater detail in another post I am formulating right now... look for that in a week or so. Anyway, notice that the majority of the fittings have no intervening pipe segments.  Here is where the "fun" begins.

Pipe fittings that have been placed using fitting to fitting connections, rather than being placed inline on a route, have an annoying habit of wanting to change their orientation when they are modified in any way.  If you attempt to change the size or replace the fitting with another similar fitting, (let's use the elbow on the left in the image above for this discussion) the new fitting tries to come in at a different rotation than the fitting being replaced.  If this fitting is connected on both ends, this will cause a general "replace fitting error" message to pop up.  If you are new to the program you might have no idea what the error means, or what the problem is.  Breaking the connection on one end only allows the change to be executed, but the results may be... interesting at the least.  The best solution, (and I say this sarcastically since this is no solution in my mind, but rather a workaround) is to break the fitting connections on both ends of the fitting.  Then attempt the fitting change again.  With this workaround the fitting should replace or resize fine and stay in place.  (but wait, there's more).

Now that the fitting replace or resize has been done, it has to be reconnected to the rest of the assembly using the "Connect Fittings" command.  Looking back to the image above, (remember it was the elbow on the left we used in this example), let's assume that we reconnect the elbow to the tee fitting in the middle.  The fittings will connect with no problem, but to our surprise the elbow has rotated up 90°.


Fitting Rotated After Reconnecting

Now we have to supplement the Connect Fittings command with Edit Fitting Orientation to rotate it 90° back down to it's beginning orientation.  Now we have to connect it back to the pipeline.  Using the Connect Fittings command again to select the elbow and the pipe segment.... Tube & Pipe creates a Pipe Route loop to connect between the fitting and the previous pipe segment!

Pipe Route Looped Onto Itself.

So, after a few more taps of the Undo button, we have to actually delete the pipe segment and route a new segment starting from the elbow out to whatever length we need.  Once that's in place we can use Connect Fittings to connect the new segment to the next fitting in the line, and finally... after all of these steps, we have successfully changed the size of one fitting in our pipe run.  Now we can proceed to change any other fittings that need to be replaced or resized.

This to me is a huge waste of time for any designer, and therefore money.  My proposed solution is hard to define since it depends on what the root cause of these issues is.  But it seems that there are obstacles to the freedom and flexibility that a designer needs to be able to make changes to a design as a project unfolds.  The fix may be in question, but the desired result is not.  Fitting to fitting design is a large part of a piping designer's real world experience.  The ability to quickly change, resize or otherwise modify these fittings in place, without causing rework to the rest of the pipe run or any other pipe runs attached to it, is a must have in my opinion.  Design criteria change fast, the designer needs the ability to change a model as fast in order to keep up.


Changing Pipe Sizes in a Pipe Run.


For a brief and ill advised period a few years back, my company switched to Pro Engineer for their Pro Piping module.  There is little I can say good about Pro Piping, in my humble opinion.  But there is one (and only one) thing it did better than Inventor's Tube & Pipe.  Pro Piping had the ability to change pipe sizes WITHIN a single route, automatically.  Let me break it down a little.

Fittings in Pro Piping were authored very similarly to those in Inventor.  They didn't call it authoring, but I cannot recall what they did call it.  (The bad memories are fading)  The main difference was that instead of defining an insertion work point and axis for each connection, the user defined a coordinate system, making sure that the "Z" axis was facing in the direction of the connection.  These User Coordinate Systems were then given a Size parameter.  When routing pipe, the user selected a spec which was similar to Inventor's Tube & Pipe Styles, with one major difference.  The spec did not have any size associated with it, it called out the material and allowed fittings.  The size was determined by the size parameter on the fittings themselves.  As long as the fittings and pipe which were allowed by the spec existed in the size currently being routed, the route would populate.  Example:  If you began a route at a previously placed Pipe Flange, which had a 2" parameter on the open port, the route would assume 2" as the nominal size.  Any fittings placed in the line would assume 2" as well.  If a reducer type fitting was placed inline, which had a 1" port on the other end, the pipe route and any existing fittings downstream of the reducer (as long as they existed) would automatically switch to 1" as determined by the size parameter on the reducer.  if the program ran into a situation where a fitting or pipe to be reduced did not exist in the fittings allowed by the spec, the program would prompt the user as such and ask for a substitute to override the spec.

In Inventor, the same situation has two possible solutions.  One is to route the 2" pipe up to the assumed location of the reducer and stop.  The reducer fitting would be placed manually and connected to the end of the 2" route, and a new route created for the 1" pipe downstream.  The other method is to route the entire pipeline as 2", place the reducer, and then manually change size on all pipe and fittings downstream.  The problem with method 2, is that nay changes made later will revert the pipe segments downstream of the reducer back to the 2" specified in the Tube & Pipe Style, necessitating that the user change them manually again.  As in the previous section, this does not allow for the flexibility needed by designers in the real world as things can change rather quickly.


I'm going to end this now and call this part 1, so that it does not get too long and bore you all to tears.  I have more ideas and I'll work on compiling those into a part 2 soon.  In the meantime....

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical ® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”  Programs and programmers' information used with permission.  Thanks guys!
Viewing all 34 articles
Browse latest View live