Find us on Google+ Inventor Tales

Thursday, January 22, 2015

How to Attach Content Center to Vault 2015 through the ADMS Console!


Recently, I found myself installing Content Center Libraries into Autodesk Vault 2015.  It was standard operating procedure; I've done it a dozen times.

One thing new to the 2015 version of Vault, is that the Content Center Libraries are downloaded from the link here, instead of being provided on the media or in explicitly in the download.

The installer even states that when you're select it from the Install Tools & Utilities screen. 



No Content Here!  But there is a link to download it.

If you follow the instructions in the readme file, the steps aren't too difficult.  Just download the libraries you want, extract them, click on the batch file, and wait for the libraries to install. 
And if that’s how you wish to install the Content Center Libraries, go right ahead.   It works nicely!

Compressed Content Center on the left.
Extracted and ready to go on the right! 

But if you desire, there is an alternative way as well, if you prefer.

Start out by extracting the files down to the point where you can see the libraries in question, they end in the *.mdf and *.ldf extensions.  For example.  AI2015_Inventor ANSI.mdf, and AI2015_Inventor ANSI_log.ldf if you’re using the ANSI standard.

The ANSI libraries extracted.

Take these files, and copy them into the location with the other libraries for Vault, this location can vary, as an example, the location on my own machine is. D:\Program Files\Microsoft SQL Server\MSSQL11.AUTODESKVAULT\MSSQL\DATA.

In my example here, I've copied the ANSI, ISO, and Feature libraries.  But you can copy as many or as few as you want. 

The libraries copied into the Vault library locations

This will make the files available Vault, but Vault does need to be told to use them.
In order to tell Vault that it’s going to be using these files, open the ADMS Console, locate the Library folder. 

 Once you have that, right click on the folder and choose Attach.

Attaching the libraries you want. 
The libraries that have been placed directory appear, and you can add them to Vault by selcting them and clicking OK. 

You'll have to choose each individually, but this only takes a few minutes for a big library, or just a few seconds for a small library. 


You can add as many, or as few libraries as you need. I'd suggest skipping any libraries you don't want.

The libraries are loaded. 
There it is! An alternate way of loading the Content Center Libraries into Vault. 

But that does beg the question "So what?".  Why would you load the libraries using the alternate way, instead of the other way? 

The truth is, you can use whichever way you want.  It matters little in the grand scheme of things.

But if you've already have the extracted libraries, or you don't have the handy dandy batch file available, this can be a quick way to get where you need to be. 

I've even seen some clever Vault Admins use the Detach option as a way of "deleting without commitment" . They detach the library and make it unavailable to Vault, so users don't have access to it.

If at some point it turns out the users *do* need it, they just reattach it, without having to go through the process of downloading and extracting. 

So keep it in mind as just another tool you can use to make your life a little easier. . 

Sunday, January 11, 2015

An Exercise in iParts, and a Little Bit of Sharing!


Over the course of the last couple of weeks, I've been working on a little project, and I thought I'd share..

The part I practiced on was a NAS fastener series 1141-1148, in grip lengths from 1/16 of an inch to 6 inches. I built it with the intention of being usable as a library part, not to be one hundred percent accurate.

Since the part is a screw, with the same shape used in several different sizes, I decided to make it as an iPart.

The reason I created it was to refresh my memory when working with iParts, as well as exercise my knowledge of aircraft standards a bit. And it was good practice!

While I didn't learn (or relearn) anything particularly earth shattering, there are a couple of tips that I thought might be worth sharing.

1) Don't forget that you can use Microsoft Excel to edit your part tables.  Using Excel will allow you to using Excel to create equations, or just fill and copy series in the table.

Using Excel can make editing the table *much* easier!

For example, looking at the sample part number 1145-03, the 03 means something.  It's the grip length of the screw in 16ths of an inch.  so 03/16 = a grip length of 3/16.

Looking at that from Excel, you have a formula!  Hello automating a repetitive task!

An example of an equation calculating a screw's grip length.

2) Don't forget that you can use Edit Member Scope and Edit Factory Scope to make adjusting iParts a little easier.

Edit Member Scope means any changes you make to the model only affect the active member.

Edit Factory Scope changed the entire factory, for example, when I need to add a fillet to the whole factory, I edited the factory scope.  When I wanted to modify just the width of a torq head (the sort of Phillips head looking part) for a single variation, I edited the member scope.

The icon for editing member versus factory scope.
3) If you want to generate all the iPart members in a hurry, select them using Shift+Left Click.  Once the parts are selected, right click and choose Generate Files.

The computer may chug a bit, but it will build all the members required for this part.  Saving the trouble of doing it later.

Selecting all all the members and generating all the files to generate all the files.
But after I was done working on this project, I decided that I would go head and share more than a few tips for this part, I'm just going to go ahead and share the iPart.

Of course I do have to offer up a few disclaimers, or at least advisories.

1) I've done my best to make sure that the values are correct.  But there is always the possibility that I suffered a case of fat fingers.  It never hurts to verify if you're going to use it for real!

2) This screw actually uses UNJF threads, not UNF like I've used in the iPart.  However, I designed this with the intention to be placed in assemblies, not to be accurate to the manufacturing level.  Since the default Inventor Thread table doesn't contain UNJF threads by default.

I do have a modified Thread.xls file with UNJ threads in it, but rather than talk people through modifying their Design Data folders, I decided to keep the part as universal as possible, since ultimately the part is only intended to be placed in an assembly.

But with all that said, take the part, use it, and enjoy it by downloading it from my GrabCAD account here!

If you don't have a GrabCAD account, you can download it from this link!

One final note, I found the technical information for the screw at the Coast Fabrication website.  It's got a wealth of information!






Wednesday, January 07, 2015

The Vault Service is Alive and Well! Why Can't I find the Data Management Services?!?!


Not that long ago, I ran into a Vault issue that I can only describe as truly puzzling, and more than a bit nerve wracking.

It all started out with the phrase that will strike fear into the heart of any Vault Admin.

"Vault's down.  Engineering is at a standstill." 

In Vault world, this is the same as hearing "Shields are down, weapons offline, and the dilithium crystals are nearly dead."

If you haven't heard this phrase, you're lucky.  If you have, trust me, it'll make you want to grab a red shirt and join the away team.

Left with no choice, I plunged in.  With Vault off line, many scenarios become a possibility, most of them not good.

After all, there's nothing more dangerous than engineers with free time.  It's like the A-Team, MacGyver and the MythBusters merged Voltron style, and then downed a gallon of espresso before going to work

The error being displayed by every single client was.




I reset IIS, the IT Admin rebooted the computer.  The same error appeared.  


I checked the standard issue things.

  • IIS?                           Running like a top
  • SQL Server?             Serving SQL just fine. 
  • Firewalls?                 Allowing traffic to pass. 
  • Log files?                  Nothing out of the norm... so it seemed....


Meanwhile, engineering has accepted a dare to use old office supplies, stale chocolate, and a 63 VW Beetle chassis to create an upgraded version of Rock 'em Sock 'em Robots.

Finally, after a bit of searching, the solution presented itself in the form of the link on the Autodesk support site here

A document came up, the first thing it said was check for the following in the Vault logs.  You'll commonly hear them called "Vlogs", and can be found using the instructions at this link.

Error: Soap Exception ( mesg-id = 635298001452597277 ) 
Exception: WebServiceError [800]
 
Exception(Inner): There was no endpoint listening at https://avia-srv3/AutodeskDM/Services/_impl/SiteService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. 
Stacktrace(Inner): 

Apparently, for reasons unknown, there was an SSL error that was preventing the connection to Vault.  I don't know all the ones and zeros that would cause this, and now with engineering trying to attach flamethrowers to their super-sized boxing game, we were focused on fixing the issue.

I try the first steps in the solution, which are:
  1. Start the Autodesk Data Management Server Console (ADMS) and go to Menu tools > Global Settings > Advanced Settings > Email.
  2. Remove the selection from the "Enable Compatibility with SSL" option.
But that doesn't solve my issue.  When I try to go to the Tools pulldown, I get the following error.


Fortunately, the solution at the link contains instructions for that case too!
  1. Use Notepad to open the web.config file from C:\Program Files\Autodesk\ADMS Professional 2014\Server\Web\Services .
  2. Change the sslRequired key from "true" to "false." 
I run these solutions, and for good measure, type IISRESET at the windows command prompt to bounce the service.

Now, both the IT admin and I hold our breaths and cross our fingers.

And then.....

It works! 

The first user logs in, then the second, and so on!  Cue epic symphonic music!

The IT admin and I congratulate each other.  If we had been in the same room, instead of working remotely, we might have hugged.

It felt like we had just successfully disarmed a bomb! 

But in the end, what's the point?  Why am I sharing this?  Will another user out in there find this helpful?

I don't know, you may never encounter this error.  And I'm the first to hope you don't.

But if this little tip resurrects just one users' Vault minutes before engineering completes their time traveling DeLorean.  If one user is able to take this and say "I was able to minimize downtime...."

If one frazzled CAD manager is just a little less frazzled, then this post did it's job!




Wednesday, December 24, 2014

How Much Can You Tolerate? - Using Tolerances Inside Autodesk Inventor Models.

“Tolerate, change, or be grateful.”
~Anonymous

The ability to create and evaluate tolerances has been around for several releases in Autodesk Inventor.  I actually can't remember when it was a "new" feature.

But it doesn't seem to get much notice.  I'm not sure how many out there know it even exists.

So I took a moment to put something together to show the steps to setup, and use, tolerances.

Before getting started, let me introduce you to the parts that are going to serve as our samples.

I've created a sample lever and shaft.  Similar to what might be seen on a carburetor butterfly valve, although it's really just a sample.

The sample for this post

With the stage set, it's time to face the next question, where to start?

The first way of adding tolerances to an Inventor model is similar to what you might do on a good, old fashioned, title block.  That step is to add tolerances per the number of decimal places as a title block.

Tolerancing in this fashion is found from Tools>Document Settings, on the Default Tolerance tab.  Here different tolerances can be set for a different number of decimal places.

Locating the Tolerance Values for a part.
For this sample component,I'm going to set tolerances as follows.
.
.00     = . +/-.015 inches
.000   =   +/- .005 inches
.0000 =   +/- .0005 inches

Adding standard tolerances.  It's almost like a title block!

Once these are set they will display on the modeling screen.  Different tolerances can be applied to different modeling dimensions by editing, and right clicking on a dimension and choosing Dimension Properties. .  Here the tolerances can be set by changing the dimension to match whatever the desired model tolerances are.


Right click and choose Dimension Properties

Setting a tolerance via a standard tolerance.

However, there are plenty of other cases where special tolerances must be used, such as deviation, limits of various types, or any other tolerance that may not fit the default tolerances for the model.

To "fine tune" tolerances by adding a special tolerance in a sketch first edit the sketch.  Once the sketch is being edited, use the same as we used before.  This time, use choose the type of dimension to be placed with the flyout.

Choosing a dimension type


If you're trying to add tolerances to dimensions for a hole feature, edit the feature, and left click on the arrow next to the dimension you wish to add a tolerance to.

Setting the tolerance on a hole feature.

Now a tolerance can be added just like the sketch dimensions.

The tolerance is set with a deviation tolerance
But what if you want to change the tolerance on something like an Extrusion or Revolution?  If you take the time to check, neither of the previous tools will work.  So how do you add a tolerance for those features?

Don't worry, there's still a way.  On the Manage tab, edit your Parameters.  All the dimensions for the part are shown here, and by choosing the arrow next to the dimension (similar to what we did in the hole feature), the tolerances for any of the dimensions driving the part can be changed.

User Parameters to set tolerance

So now tolerances have been added to the desired dimensions.... So what?  How can the limits of the tolerance be evaluated?

In each of the tolerance dialog boxes, and in the Parameters screen, there are four icons that change the size of the feature, based on the tolerance you choose.  The available options are upper, lower, median, and nominal.



For example, let's evaluate the pin and it's mating hole at it's maximum material conditions (smallest hole diameter and largest pin diameter).

To do this, edit each part in turn, and add the desired tolerances.  I'm going to use deviation tolerances, since I always found these to be the hardest ones to evaluate by hand.

After changing the tolerances in each feature, I'll set each feature to evaluate at the maximum material condition.  For the shaft, this is the upper side of the tolerance, for the hole, the minimum.

Choosing the smallest possible tolerance dimension

Choosing the maximum tolernace size for the shaft.
With these values set, I can return to the assembly level, switch to the inspect tab, and run an interference check.

Even though the parts are in tolerance, there's an interference


In this example, there is an interference that lays well within the acceptable tolerance I've created.

So what does that mean?  There's work to do?  The nominal sizes and tolernances will have to be adjusted so they don't interfere under any size that still lies within the range of the tolerances.

And what does this mean for everyone else?  

Take a look at tolerances in Inventor, and see how it can help you.  It's always cheaper to find the mistakes in the computer, than in the shop!

And finally, a couple of  "Pro Tips".

There's a couple of small tricks I learned as I worked with tolerances, so I'm going to add them here.

1. Rename parameters.  When setting tolerances, especially when using the Parameters screen. It makes it easier to know which dimensions and parameters you want to change!  There's a tip on how to do that in "Tips for Short Attention Spans".

Using named parameters

 2. Use the Document Settings "Modeling Dimension Display" to set the default dimensions for your model.  Any dimension placed will take this number of decimal places, and by default, the tolerance associated to it.


Choosing the tolerances
4, Change the precision of an individual dimension.  One option when editing a dimension's property, there's an option to change its display value.  This can make sure that you can see an accurate value for the dimension.


Changing the precision of an individual dimension


5. Use the dimension display options to your advantage.  Changing the dimension display will change how your dimensions show on the screen, and can make sure you get an accurate result.

Add caption

For example.  Using "Show Precise Value" will show exactly what the dimension's current value is.

An underline under the dimension indicates that the dimension is currently being evaluated at a value other than its nominal value.  In other words, it's set to be evaluated under one of it's tolerance values (maximum, minimum, median).



6. Explore the tools!  Many of the different tools and dialog boxes share common tools and dialog boxes.  Use that to your advantage.  You can access Document Settings from Dimension Properties for example.  You can change the Evaluated Size of a dimension from the individual dimension properties, or from  the Parameters screen, or from the Dimension Properties dialog box.

And if you've got a sketch active, you can change the dimension display from the dialog box!  Take a look!


Changing Dimension Display.

Whew!  This post did end up being a lot longer than I had planned.  But I hope you find the info valuable!




Friday, December 05, 2014

Five Quick Tips for Autodesk Inventor Assemblies

Avengers Assemble!
Marvel Comics

Over the course of the last few months, I've created tips of things that I thought others might find useful.  So far, I've created one for sketching, and part features  Now for the next step in the series, five Autodesk Inventor Assembly tips.

I've stated it in my previous tips, but I'll say it again.  These aren't in an order, of preference, just the order I jotted them down in.  Take the ones you like, and use them in any way you like!

1) Granted, this a bit of a repeat from part modeling, but this tip works well assemblies as well.  And that's the "Select Other" tool.

When assembling components, Inventor allows us to rotate components while adding constraints, I use this all the time, especially with my 3DConnexion device.

However, there are plenty of times that I don't want to rotate the parts when adding constraints, and this is where select other can come in real handy.



2) Other times when adding constraints, I need to place a lot of constraints quickly.  This is particularly true of insert constraints.

Inventor has another way of placing constraints that has been around as long as I can remember, but seems to have been lost over time.

That method is the Alt+Drag method.

In short, select the geometry to be constrained while pressing the "Alt" key, and the appropriate constraint can be selected.  Drag the constraint to the mating part, release the Alt key, and the constraint is placed.  All done without touching the constraint icon.

The act of using Alt+Drag

It's not a big time saver for a few constraints, but when placing several, it starts to add up.

There's more information from my earlier blog post here! 

3) Another tip I picked up over the last few years came from users who worked with a lot of sheet metal.  It's a creative use of the Flush constraint.

When selecting a small edge to be mated to another, it can be difficult to get the desired face.  Mate, being as flexible as it is, can start picking edges and points near the edge of the face.  It makes it tricky to get what you want.

One option is to use the Select Other tool, just like I mentioned in Step 1, but there's another approach that I think might help everyone out.

That approach is the Flush constraint only see faces.  Starting with that as a constraint, will easily pick the face.  All that is left to do is switch it to Mate once the face is selected.

This can be a huge time, and patience!


Here's a tip on using a flush constraint to pick a narrow face

4) This one has happened to me more times than I want to admit. I've started out with two parts that I swear are totally identical.  I have those components constrained into place, and everything is just about set....

Then I realize that there's one feature that makes one instance of the part different from the other...

Classic.  Two parts I thought were the same, and I realize they're not when they're already placed.

Fortunately, there's a tool called Save and Replace Component.  It's located on the Productivity flyout, and it's perfect for exactly this situation.

Locating the Save and Replace Component tool.
Save and Replace Component creates a brand new copy of the existing part, and swaps the new part for the old.

The bonus?  No constraints are lost, and you can quickly make the changes that make the part unique!

The result with very little inconvenience! 


5) Finishing up the assembly tips, one last one is a tip for a set of features introduced in Inventor 2014, but might have gotten lost in the forest that's created by so many new features.

It's not available in 2013 or earlier, so sorry for those on the older versions.

All of these sets are from the same group, so I'm combining them in together as a "super tip".

First, is to drag a part using the Free Move command.

In previous releases, this just moved the part away from the assembly, regardless of constraints.  But now it shows "bands" between the moved part, and the components it's constrained to.  It's a visual map to how the constraints are behaving. This also includes glyphs showing you what type of constraints are in use.  Right clicking on the glyphs lets you edit, modify, modify, and delete constraints.

Using the Free Move command to show constraint relationships

The other tools are on the Relationships tab.  They're Show constraints, Show Sick constraints, and Hide All constraints.  The name says it all.

Show constraints displays the constraint glyphs for a component that you select.

Showing Constraint Glyphs

Show Sick constraints will show constraints that have conflicts with other constraints.\

Showing Sick Constraints


Hide All constraints turns off all the glyphs.

Hiding All Constraints


I know I've grown to like these tools as I've used them, but it can be easy to overlook them.

So if you've been upgrading and forgot about these tools, take a look!

And I know.  There isn't a video for this one.  Things have kept me rolling where I haven't quite been able to create videos.  I'm hoping that things might just wind down enough where I hope to create one soon!

****Edit 31-December-2014****

At long last, I had the time to create a video to accompany this post!  Take a look!  I hope you find it helpful!

And Happy 2015!







Sunday, November 30, 2014

CAD Programs as Tools. CAD Drafting as a Trade.

This post was inspired by random internet searching, and stumbling onto an interview with Mike Rowe of Dirty jobs, that really made me spend quite a bit of time contemplating things.  It even caused me to search around more for more articles.

Here is the video.  It's about 40 minutes long, but I found it fascinating.



So what is the point of this?  Does this even apply to those using CAD?  Is Jon just rambling on?

Mike Rowe said one thing that struck me.  "I do believe, whatever your job is, if you approach it like a trade, you'll be better for it."

Now, like Mike Rowe, this isn't me attempting to bash higher education.  I have a Bachelor of Science in Mechanical Engineering, and I wouldn't trade that for the world.  I'm proud of that.

But on the other hand, my father made a living with a wrench in his hand.  He crewed and worked on aircraft in the U.S. Navy.  After that he was a certified Airframe and Powerplant mechanic for Western Airlines, and finally McDonnell Douglas.

He was a tradesman, and a very good one at that.

The Avenger.  My father worked on these in the 1950s. 

My father in the early 1990s.
He wrapped up his career working on MD-80s

And I've been fortunate enough to have him as a mentor, and many like him.  I've been lucky enough to be mentored by woodworkers, machinists, and aircraft mechanics.  I've learned to respect the skilled workers who create with their hands.

Of course every one of these skilled workers has their tools.  The implements that are more than just what their mass and volume represent.  They're an extension of a workers hands, a way of making a living.

Thinking about that a moment, isn't CAD a tool?  As designers using CAD, isn't that the extension of our hands?

When it comes right down to it, is a CAD program, be it, AutoCAD, Autodesk Inventor, Dassault Solidworks, Revit, CATIA, ProEngineer, and so on.  Aren't they our tools?

Autodesk Inventor, laptop, and 3DConnexion 3D mouse.
Are they different than the wrench and rivet gun?
Or different tools for a different trade? 

And since these are the tools of our trade, shouldn't we be trying to use them to the best we can, to hone our craft and get the most we can out of them?

Does that mean you need to go and call your reseller and buy thousands of dollars of custom training?  Maybe. That would make your account manager very happy, but sometimes we're not able to do that.

Does that mean you seal yourself in your basement, and spend hours upon hours honing your skills on the product of your choosing?  Perhaps.  But that's not something everyone is able to do.  There are commitments and family, and time is valuable.

What it means to me, at least, is to find what makes me better.  From a CAD perspective, that means I spend time looking at articles from some great sources.

I would also love to attend Autodesk University every year.  But alas, that one isn't in the cards for me, at least not this time.

Why?  I learn things I don't know, it teaches me to look at problems from different angles.  It encourages me to try new things I may not have thought of.

I've also started taking Aircraft Maintenance Classes at Mount San Antonio College.  Someday, I could learn enough to earn my own Airframe and Powerplant license, although it's going to take me a long time.

A sheet metal practice plate I used to practice riveting in class.
It takes practice to learn this skill! 
I also volunteer at Planes of Fame in Chino, Ca.   I'm lucky enough to help recover fabric control surfaces there, and see aircraft mechanics who have become so skilled with their trade, they've crossed into a realm that has become pure artistry.

A iron in the foreground.  It was used on the rudder (laying on its side in the background) to
heat shrink the fabric used in the process.  These are the tools of the fabric trade. 
Why?  It keeps my hands dirty.  I get to understand why something is done and how things go together.  I learn the things that can't always be learned by reading manuals and watching videos, or even sitting in a classroom.

Does that mean that this is your formula?   Should you go read blogs galore, take classes.  Is this how you "think like a freelancer" as Mike Rowe put it?

No, it doesn't.  It represents the choices I've made on how to improve how I use my tools.  It's how I sharpen my own freelance.

If anything, you should find your own resources, your own way of learning how to increase your knowledge, and improve your skills.

Ultimately, it's a choice we're all faced with making.  And every choice, including choosing not to decide, is making a choice.

Oh, and is using CAD, any CAD, a trade?

In my opinion?  There's no doubt the answer is yes.








Tuesday, November 25, 2014

A Use for Inventor's Sketch Constraint "Relax" Mode

“Try to relax and enjoy the crisis.”
 Ashleigh Brilliant 

Sometimes, it takes the right circumstances to find a good way to use a new feature in Autodesk Inventor.

The new Relax mode in Inventor 2015 fell squarely into this bucket.

When it first came out, I was frankly a little unsure of the new tool.  It's my nature.  I just find myself wary of any tool that is "too automatic".  I'm just type "A" enough to not like it when too much is done for me.  I circle them like a cat sizing up a potential meal.

But I've also learned that there is a time and a place for these tools too.  Experience has taught me to never dismiss a new function too quickly.

In my case, I was rebuilding an aircraft instrument panel in Inventor.

Originally, I had created it as a test to benchmark how text affected the speed and file size in Inventor.  To do this, this, I created the cutouts for the instruments as extruded borders with text inside.

A sample of the original panel.  There were no cutouts for instruments,
but this was part of a test and not meant to be "real" at this point.
Not accurate as a part.  But perfect for the benchmark I was creating!

But once I had done that, I wanted to create a more accurate representation of the panel.  This meant deleting the extruded  borders, and recreating them as cutouts.

But as I did that, I ran into one issue.  Part of the sketch that I had removed had anchored the text that I had placed.  Now the geometry was disassociated.



I could delete and recreate the sketch, but I didn't want to try to retype all that info again.

But what I did find was able to delete constraints to free the geometry and reattach it to other geometry,  In some cases, this meant deleting four co-linear constraints, and recreating them all over again.  This is what I would have to do with these circuit breaker cutouts, for example.



While it wasn't a huge pain for a few of them, there were a ton, there was a lot to do, so how could I make this task go a little quicker?

Well, if you guessed that I used the "Relax" constraints mode that's new to Inventor 2015, you would be guessing correctly!

First, while editing the sketch in question, I  turned on Relax Mode,  It can be found at the status bar on the bottom of the Inventor drawing screen.  You can also use the hotkey "F11"




Once that was on, all I had to do was grab the text and drag it.  The constraints would automatically be removed, and I apply the new sketch constraints right away.



Is it a small thing?  Perhaps.  But over time, it did make fixing the panel a lot easier!

A simple thing?  Perhaps.  But it can be the simple things that matter.