Sunteți pe pagina 1din 52

!

"#

$% & ' ( # % # ( ! '' &

) # # ! ( ' ! ! # '% ) # *# + #*' (+


+ !%+ ' % & ! , ' ( ! ( #
%& % " % ( # + '# ( # + ! + *# + +
#*' + ' %+ ! + ! ( ( '% (*
!

! "# "$ %

"
"

!" # $ %
&

'
(
)
) # $ $
*!+ !" #
$
)
)

) ,
- + .
)

'
"

/
"

0 1
2 %

#$
& $ '

% & '
(

)
*
+ ' ,

% " "
*
- $ .

% '
/ %
*

( % #)

(' '
012 3
4 (' " "

('

* ( )

!5 ' '
6 '
2 (' 7(' '8 ' )
'
, 9 52 ' )
9 :
* % + ' +

+/ %
- . %
1 ; ', 0-<& .=$>? %+ @-<, .>=
1ABCDE
-9
. F (

, $ - ' .

G
% +
% +
:,

$ . + / 0

: 1// / 2% 2 /

3 4 5 '

- .
H 7
8 '

6 7 - % 85$ 9' : ;

'
9 ,6
, 7 8
' + F
2F 7 8 ) ,
( :
-+ % ; .
,6

6 $ $

9
- 9 &=.
;& + ;&

6 $ 4 <

) ' : , %
, % +
6 ) ' I ) (
- 0???. I )- ) ?.
+ !?? I !?? 4
: 4 ,
H =??? 4
) - . , % J%/ / &
4

= > ? % 4 %5 <

:!5 7F 9 + 8 '
2
% H ' F 9 + 632

!@ .,( . . '

, :!5 : : ('
!5 G : : (' >
::(
2 K0 2 - :
2 .

!! 4 7 8 +

L M
4

! "

# !
!

$ % & '
( ) *
! +
!
! , ,

' ! !
-

.
/01 2 3 3
- ,-, ! %

! *

4 5
+

$ /
!
, ,

&

' !
! %

! *
$ 6

!& ' % $

F - .
9 9 #
&

7 8
' D H 7 8
' J 9
' 9

!( > % % AA

9 - 7 8.

;N()< H (+ <H ( B B B B : ! 0B B%
B B2 B% O0

!* 7 + B > ? ? %7 +

N N +/1

; - P . )
P

!, 5 - > C

2 2 +/1

7 ! ! !
$ & $ &
7 8 /01
' /01 !
9

! 6

! -

3 +/
: Q
6 :
1AA

! : ;<
! ! 7
: % !
* /
=->8?@) //8' @ $8/<$ < !<7 </ A B 5<$
< < C
,);<< <<,
, # ,D ;EEEEEEE(
, $! 8 ,D ;EEEEEEE(
, $ # 8 ,D ;EEEEEEEE
,$ ) ,D ;EEEEEEEE
, / ,D ;EEEEEEE(

!3 D + E5 $ F

L M
-> G 5 . ' '

7 & ! %
! * E(FG
E(FH I J

)
! 3

!6 ' % 8 %

& , , R

% -
F

P 63(

% P P
1

6 '
1

;
=->8?@ #) @0 )-7'8<$#K 9 /8<) < C
LD,7 ) ,

) ;
=->8?@ #) @0 )-7'8<$#K 9 /8<) < C
LD, ,

L M3 N
%
1

0 6 ('
> Q& 6 Q&
5 &
=
! -76 , 8. -
" 1B% & B & B B% ( B%;6 6(2 (I("
"S0".
T 2

!= $ % ' 8 #

2 M % % G

I1& - I 0>5 .
+ H - + % +% .
I1 9 > - 0 5
. %
I12 %
A ('

/ 2 #

&@ G + % ' -

/ +/ G

7R "5" 5
">" > % 8

&! $ H 9 5 ;

9 T 4

;N()< H (+ <H ( B B B B : T ?B B%
B2 1: 6

K 4 1
?1 -4 .
01 4
>1 4 - 2 $ .4
51 4 - 2 $ .

&& ) 9 5 ;

H / 1

) F '$ ' ' N


' ' P
' ' H "& ' , '"
- .

&( + %$ + 9 5 ;

) N 6
0

% % -.
N "S " &
N ""
(

N '
S - $& & .
78 % - .
'

F %

&* + - $ 9 5 ;

) &
, % & 4 0U ' 0U & 9 55 ' 55
- . )
'

+ + 4
F + +
4

' 8

0 ; 0 %

+ A 4 A
-+ 1
9 N .

' -
P . , %
+

&, 5 E5 ' % B9 5 ;

T F
& Q%
Q 4 ;
)

&, 5 E5 ' % B9 5 ;

T F
& Q%
Q 4 ;
)

& B9 5 ;

) % '
K 0V

&3 > % F9 5 ;

F P D

& ' 1
+1I J

+1I J I

& 2 0 2
P

$ K K

; D ( 9
iCode

Up This page contains macro driven parts, Visual Basic and VBA programs and anything else which uses code in
CAD Inventor. Some of these are works in progress so check back from time to time for updates. As usual, we are
FAQ always looking for useful things to post
Jobs
Link to Kent Keller's iCode page, some simply elegant tools
Inventor Tool Site, by Patrick de Stobbeleir
InventorTutorials & More by Sean Dotson

Name Date Type Version Author


Save N Replace 11/28/03 VBA 2.0 Charles Bliss

Highlight a part or a subassembly in an assembly, give it a new name and this tool will replace the component(s)
with the new file. Basically a simple "Save Copy As" and "Replace" all rolled into one. Version 2 adds Save Copy
and Open if you are in a part (ipt).

Name Date Type Version Author


Animator V3.5 4/12/03 Addin 3.5.1 Charles Bliss, Neil Munro, Sean Dotson

This release of Animator adds constraint suppression, control over part visibility and camera moves. There is NO
documentation supplied with this install, that will come later. To access the new functionallity, there is a combo
box in the upper left which provides access to the other object types. Part of the beta process is for you to
feed back areas in the UI which don't make sense so we can either fix them or provide documentation on how
they work. General rules which are not obvious. *) Constraints must be renamed in the browser for them to show
up in the Suppression list. *) It is prefereable to rename constraints in the Inventor Parameters dialog so they
are easier to find in the Animator Paramaters list. *) If you want to edit your files in Excel, save and load them
as .csv. *)This version only controls things defined at the top level of the assembly. You can not change part
visibility, drive parameters or suppress constraints contained in subassemblies; this is one of the target
capabilities for V4.0. Please direct all issues on this version to me. The final release will be posted to sdotson.com

Name Date Type Version Author


iPartsToNormal 4/13/03 VBA 1.0 Charles Bliss,

Convert an iPart factory to a set of non-iPart children. This program will iterate through all members of the
Active iPart Factory and create children of the same name as iPart children specified in the table. These will be
placed in a selectable directory except the last tow directories in the path will be "nonIpart" and the factory
filename (so you don't risk overwriting existing iPart children). It has only been tested on R7 but may work on
earlier versions. Place the extracted ivb in the same directory as your other ivb macros.

Name Date Type Version Author


Positioner. 4/27/02 VBA 2.0 Murray Smith
ivb
(updated)

http://www.cbliss.com/inventor/iCode/index.htm (1 of 6)12-12-2003 2:03:07


iCode

Positions parts within assemblies using x y z or rotations. As an added bonus, it also has a copy option

Name Date Type Version Author


CustomPropCopy 3/2/02 Addin 2.0 Neil Munro Full Install 2
Updated dll (for V2) 3/2/02 dll 2.0 Update for V2 current users
CustomPropCopy3 7/9/03 Addin V3.0 Neil Munro Full Install for new users

Copies Custom properties from a Model to a Drawing, R5 only (1.9 Meg download) If you have not installed
perviousely, download and install CustomPropCopy. If you have an older version, just down load the new dll and
overwrite your existing one. Instructions are included in the full zip.

Version 3.0 adds drawing view scale properties and drawing save date / time properties to drawings, and is
designed for IV R6+. It is only available as a full install since it has updated OCX controls.

Name Date Type Version Author


AssemblyCOGPlus 3/23/02 VBA 2.0+ Neil Munro
AssemblyCOGPlus 3/8/02 AddIn Neil Munro
(R6+)
AssemblyCOGPlus 3/8/02 AddIn Neil Munro
(R6+)dll only

Calculates an Assembly's Center of Gravity. Instructions in archive.

Name Date Type Version Author


MultiConstraints 1/15/02 VBA 1.0 Neil Munro

Enables multiple selections for sketch constraints. Please read the enclosed documentation.

Name Date Type Version Author


ViewManager 2/3/02 VBA 1.0 Neil Munro

Inventor View Manager for R5.3. Macro for managing cameras and views in parts, assemblies and presentations.
Includes read me instructions.

Name Date Type Version Author


TimeStamp 12/11/01 VB 1.0 Steve Krause

Places a time and date stamp on IDW files. Instructions in Archive

Name Date Type Version Author

http://www.cbliss.com/inventor/iCode/index.htm (2 of 6)12-12-2003 2:03:07


iCode

3DText Add-In 1/17/02 VB 2.0.0.13 Charles Bliss


Added International Support

Tool for creating closed loops of TrueType text into Part Sketches. You must have a part sketch open. Suppors
linear, arc up and arc down text, vertical text and optional placement. New, per character undo, vector mode,
break out. Support for International versions.
Does not yet support Right to Left creation (like Hebrew) or Asian Fonts.
Feedback welcome

Name Date Type Version Author


InsChgUOM.exe (Addin install) 8/9/02 VB 1.2.0 Charles Bliss
ChangeUOM.zip (source) 8/9/02 VB 1.2.0 Charles Bliss

Change Units Of Measure. Change from one system of measure to another. Should work in any language. No
guarentees. It has been tested on R5 and R5.3. Designed to convert all the files in an assembly from inches to
millimeters or any of the other units supported by inventor. Updated to recursively change all files including the
top level assembly

Name Date Type Version Author


Print to PDF 4/6/02 VB -0.1 Charles Bliss
iBatchPrint beta (does PDF as well) 8/19/02 VB 1.1.0 Charles Bliss

iBatchPrint is a program for printing to PDF's as well as regular printers for Inventor R5 and higher. The install
is manual, make sure you read the instructions in the zip. If you want to use GhostScript, you will need to install
that seperatly. I have inlcuded links in the readme. There are some known issues when using this with Adobe
Distiller 5.05. If you are using GhostScript, it might fail the first time after configuring the port but should be
OK after that. If you have problems or enhancement requests, email me.

Name Date Type Version Author


Generate IsoThumbnail 11/14/02 VBA 1. Charles Bliss

This sets a front left Isometric view and sets the file(s) dirty to force a thumbnail to be saved. It is best used
in concert with Kent Keller's iBatch Run program to update a group of Inventor files

Name Date Type Version Author


Export Preview images (updated) 11/21/02 VB 1.0 Kent Keller & CBliss

http://www.cbliss.com/inventor/iCode/index.htm (3 of 6)12-12-2003 2:03:07


iCode

Export Previw images (with jpeg) 11/21/02 VB 1.0 CBliss & Kent Keller
as above but with jpeg added

Exports preview images from Inventor. The updated version now requires either Inventor or Apprentice server
to be installed on the computer. It now supports R6 (as well as R5.3 and below). The version with jpeg support is
the same but hasn't had much testing.

Name Date Type Version Author


Full version (if you don't have VB)
File Property Manager 4/9/02 VB exe Thomas Tessier

Multiple setting of File Properties with lots of options. Download the full version (1.7 meg) If you don't have
VisualBasic installed otherwise all you need is the smaller version.

Name Date Type Version Author


Browser Rename sample & source 7/18/02 VB 1.2 Charles Bliss

This source code recursively parses the components in browser and renames them based on selected properties.
It includes source and compiled exe. This is meant as an example of how to get all the instances in the browser
and do something with them. This now has options for multiple configurable items to be used including custom
properties

Name Date Type Version Author


BOM extractor with assy builder 7/4/03 Charles Bliss

Bill of Materials Extractor, stand alone exe. Reads an Inventor Assembly and builds an indented Bill of Materials
and a Summary (with quantities) Bill of materials then optionally exports it to an Excel Spread Sheet. The
resulting Excel work book include three sheets, with the last being a summary. There is an option for displaying
the nesting level physically. Now highlights missing parts and empty part numbers. Added "On Top" and
hyperlinked files (launch Inventor from Excell) 9/10/02, Added Preview image support in both the tool and the
resulting Excel Spread sheet.

Name Date Type Version Author


Mr Macro Installer (updated) 7/7/03 VB 1.1 Charles Bliss

A simple program for loading macros in Inventor R6+. It will not work in older versions. Limitations: If you load
macros which are password protected, those macros will not show up in the list of available macros. Any macros
which load as part of your default VB will not show up until you have looked at them in the Inventor Macros dialog
first. Once you have seen a listing of them in Inventor, they will also show in the listing (I suspect that Inventor
doesn't actually load them until you explicitly look for them).

Name Date Type Version Author


Save to JPEG and Compiled XGL 8/3/2003 VB 1.3 Charles Bliss
Installer(updated)

http://www.cbliss.com/inventor/iCode/index.htm (4 of 6)12-12-2003 2:03:07


iCode

It will save Inventor files out to JPEG format and compiled XGL. The compiled XGL files are executible (.exe)
which when launched will present a self viewing 3D model or assembly. Currently missing is the ability to iterate
through and active sheets in multi sheet IDW's. There is an option for saving JPEGs every time a file is saved.
There is also an option for zooming extents prior to export. I don't recommend using this option but it is there if
you need it. Added support for dedicated target directory

Name Date Type Version Author


Steel Creator (New Version) 1/26/03 VB 3 David Adams
(updated)

Creates AISC Steel shapes in Inventor, This version fixes some problems with XP

Name Date Type Version Author


Normalize IV Library Parts 2/9/2003 IVB 1 Charles Bliss & anonymous
donor

This macro converts "_Inventor Fasterner Library V1" parts to Standard Parts. Load and run it in the context of
an assembly and it will recurse through all the instanced parts then change them normal type parts which can be
edited, properties changed etc. This should load and run with Mr. Macro or by loading in Inventor's Visual Basic.

Name Date Type Version Author


Preview In Assembly(updated) 11/28/2003 IVB 3 Charles Bliss

This macro shows the thumbnail of a part or assembly selected in the browser or on the graphic screen. It is
useful for turning on parts that are not visible by allowing you to identify them based on their thumbnails. It has
buttons for both making them visible and hiding them. Updated to fix sizing issue in R6. Version 2 addeds the
ability to change materials and other properties as well as rename part instances in the browser. A new function
has also been added for cloning assemblies with either prefix suffix or both. It will add the pre/suffix to all
parts and assemblies under the one selected. This new function is kind of beta, use at your own risk

Name Date Type Version Author


Beta: CheckIn-CheckOut All 5/6/2003 exe 1 Charles Bliss

This program was written to aid in establishing and fixing reserved files from previous releases of Inventor when
migrating to the Shared and Semi-Isolated environments. It can "reserve" an entire directory all at once and can
also be used for "Un-Reserving" and entire directory structure.

This program can un-reserve and reserve files without requiring them to be migrated first. It will not migrate
files, it only changes the reserve status.

This is BETA code and should be treated as such. Please report any issues to me and make sure you back up all
files prior to using this tool. Instructions are enclosed in the archive. It has not yet been tested in a network
environment, exercise caution.

Name Date Type Version Author


IDW Defer Updates 7/11/2003 exe 1 Charles Bliss

IDW Defer / UnDefer Updates. (R7 and higher) Upon Install, this utility places itself in the Windows Explorer

http://www.cbliss.com/inventor/iCode/index.htm (5 of 6)12-12-2003 2:03:07


iCode

Context menu. If you highglight either an IDW file or a Folder, there will be an option available by Right Clicking
(RMB). When it launches, you can select more files or just Defer or UnDefer the selected files. Testing
suggests that the IDW will not update while this process is taking place. Please exercise caution as this is the
first release and it is launching Inventor to perform the actions. Since Inventor has to launch, the process can
take some time if lots of IDW's are selected. If the drawing file is already in the desired state, no action will be
taken.

Name Date Type Version Author


Registry Tool For Addins 12/04/2002 exe 2 Anton Van Buiten

RegAddin is a tool for developers of Add-ins. It automates the process of generating the .reg files after an
addin has been compiled and registered with the operating system. THIS IS NOT an addin. This tool was written
by Anton Van Buiten and modified by me to add support for the new R6+ style registry files.
THIS WEBSITE IS PROVIDED "AS IS" AND NO WARRANTY, EXPRESS OR IMPLIED, IS MADE WITH RESPECT
TO THIS WEBSITE OR ANY CONTENT ON THIS WEBSITE.

©1999-2003 Charles Bliss. All Rights Reserved

http://www.cbliss.com/inventor/iCode/index.htm (6 of 6)12-12-2003 2:03:07


KWiK MCAD iCode

iCode
KWiK Home
MyMcad Home

iParts iCode iPlainParts iMaster

iClips iLinks MDT VBA

All programs AS IS I cannot be held responsible for problems.

I don't claim to be a programmer and most programs are made with minimal error checking.

Use at your own risk.

Please report any problems by clicking here to email me!

Very basic tutorial on the Default.ivb file. Default VBA

Very basic tutorial on loading and running a macro. VBA Basics

Charles iCode site.. Excellent VBA Code

http://www.mymcad.com/kwik/iCode/icode.htm (1 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

KWiKFile 1.0

Description to come

KWiKDrive 1.0

Allows you to select as many Parameters as you want, Set Min and Max values for them, and then Drive the parts. Each Parameter selected adds another
slider control to the form. Sliders can be Driven by using the buttons on each end, or moved one step at a time by clicking on the slider, or you can drag the
slider.

There are a number of things I am still looking into on this program, and it has a few known issues. Among them is that currently the Escape key seldom
works, and if you are setup to step by value rather than # of steps, the value is rounded ...For example 0 to 2 with .3 actually moves .286.
http://www.mymcad.com/kwik/iCode/icode.htm (2 of 23)12-12-2003 2:05:20
KWiK MCAD iCode

KWiKShapes 1.0

KWiKShapes

I was designing a master sketch tube chassis and got tired of constantly drawing the same tube
shapes. So I made this program to draw them for me.

KWiKShapes allows you to define and store Rectangle and Round sizes, to place in Ipt Sketches.

Round can either be defined just as a single circle or as a double circle. Gets dimensioned as OD
and Wall

Rectangle Requires at least X and Y values. The Wall and Radius are optional.

These both require a existing point in the sketch to place them on. It centers the shape on the
point.

The program is still a little rough so treat it like a Beta, and let me know of any problems.

http://www.mymcad.com/kwik/iCode/icode.htm (3 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

FaceChange 1.0

Requires R6 or newer

New 09/14/03

FaceChange

By Scott Stubbington

Allows you to select Faces or Features and quickly change the color on them. Can be a big
time saver if you need to do this often.

KWiKFind 1.0

Requires R6 or newer

New 07/01/03

http://www.mymcad.com/kwik/iCode/icode.htm (4 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

KWiKFind

A tool to search for and find parts in a assembly.

You can make it add the finds to a selection set, or find items one at a time.

The spyglass Icon will be added to the Assembly Browser bar after installation.

KWiKPrints 1.0

Requires R6 or Newer

New 05/21/03

http://www.mymcad.com/kwik/iCode/icode.htm (5 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

KWiKPrints allows you to save printer settings to a toolbutton for one click printing.

Access this Setup Dialog through the Tools Menu. Choose to Show from 0 to 4 toolbuttons on
your choice of Panel Bar or Standard Bar. (can be moved to others through the toolbar
customization after they are shown)

The quickest way is to set up the print settings in the file and then go into KWiKPrints Setup and
choose the "Set to Current" button. This should fill in almost everything, and is the only real way
to get the Paper Source setting if you need something other than Default.

Set one button up for the Plotter, one for the B-sized print, one for Letter and one for PDF, or
what ever combination you want.

You can add your own Tooltip text to each button, and you can go to the Install directory and
edit the Print Icons to what every you would like.

You may want to consider this Beta. I have a limited number of printers to test on and one
person reported Text and Line scale problems. I haven't seen them on my printers but please let
me know of any problems you find. It is impossible for me to test it as much as I would like to.

Thanks to Kathy Johnson for a hint to get me back on track, and Sean Dotson, and Cory
McConnell for being Guinea pigs <g>

KWiKsert

Requires R6 or Newer

Video of KWiKsert in Use. 222 KB

Initial release 05/21/03

Release 1.0.0 New 06/09/03

http://www.mymcad.com/kwik/iCode/icode.htm (6 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

Insert 1 of each fastener, and then fire up KWiKsert.

Select a edge on the fastener, then just start selecting holes and KWiKsert adds another instance of the fastener and
constrains it to the hole.

Or pick the first hole so KWiKsert can extract the hole size and style and then use the Face Option to rapidly fill all similar
holes with the selected fastener.

Release 1.0.0

Fixed bug with threaded holes

Fixed bug with sub assembly selection

Added Right Click Context menu "Close Kwiksert"

From a idea Sean came up with, I added experimental Face to Face constraints checkbox, (This works differently. It doesn't insert any parts, they need to
already be inserted. First pick a Base face, then start picking faces you want mated or flush with that face. Unfortunately it currently puts all the parts in
exactly the same spot. Also I know I should adjust the Solution icons to represent flush and mate, but as I said ... it is experimental. )J Also changed icon
to the one Sean submitted.

http://www.mymcad.com/kwik/iCode/icode.htm (7 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

KWiKViews 2.2 for R6

KWiKViews 2.2 for R5.3 and R5??

Requires R6 or Newer

Released 04/30/03
Release 2.2 New 06/09/03

Thanks to
Jon Genova for the idea
Michael Puschner for the initial graphics idea
Neil Munro for the code to keep it on top
Patrick de Stobbeleir for the Transparency code
Charles Bliss for the Final Graphics and Suggestions along the way.
MechMan for the most feedback and good suggestions.

New for 2.2 06/09/03


Fixed Lockup in IDW View Preview Mode
Made it so it will not get lost if Screen resolution is changed This was requested by people who work with overhead projection and need to switch resolution.

New for 2.1 04/30/03


Added LookAt tool
Added ability to adjust size of toolbuttons
Added "Hot" icons to better tell when you are over a toolbutton.
Fixed problem with email link

New for 2.0 04/22/03

Transparency option. Note.. this may flicker a lot if KWiKViews is over the graphics screen.
Double click inside KWiKViews to zoom extents
User options to include orbit tool, Zoom to Tool, and Zoom Window tool along with the Rotate 90 tools.
Option to change views to for a Metric Template.
Right click to get to Options Menu or go through the Tools pulldown.

A few quotes from users

Your KwikViews add-on is incredible.


I am just so impressed I just had to tell you.
... and I don't get impressed all that often.
Quinn Zander

It is a wonderful program, possibly the most significant written to date


since it is always there when you need it.
http://www.mymcad.com/kwik/iCode/icode.htm (8 of 23)12-12-2003 2:05:20
KWiK MCAD iCode

Charles Bliss
"Kent Keller is to Inventor add-ons what John Lingenfelter is to Chevrolet
high performance modifications. KWiKViews is a supercharger for Inventor."
<g>
Sean Dotson
KWiKViews is a Addin that mimics some of the Glass Box actions. It can be left open all the time for easy access. Just click the arrows and it will rotate to
that view. The two small black arrows at the top will rotate the views 90 CCW and 90 CW. The Titlebar text changes to help show the arrow being selected.

Run the Install file then Start Inventor. Go to Tools >> KWiKViews >> KWiKViews settings.

"Run Automatic" makes it start everytime you start Inventor

"Zoom Extents on View" Checked acts just like the Glass Box. Unchecked doesn't change the zoom factor, but currently can be erratic on where the rotation
center is from. Using the normal Rotation tool and clicking inside it makes it act like a person would expect. I am trying to find a way to improve this, but
currently suggest running with this checked.

"Show Rotation Arrows" hides and unhides the two black arrows in the upper corners. These can get in the way if the dialog is shrunk down small.

Even if you checked Run Automatic, the first time you will have to start it manually by going to Tools >> KWiKViews >> ShowViews.

I still have some issues when Perspective mode is on, also if Zoom extents is off you can get some odd results depending on the last used method to zoom. If
anyone has any ideas on how to fix those issues I would love to hear from you.

iBatchRun Click to learn more

http://www.mymcad.com/kwik/iCode/icode.htm (9 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

Insert n Fix Addin

http://www.mymcad.com/kwik/iCode/icode.htm (10 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

New 02/11/03

Replacement for Multi Insert and Fix below.


This is a Addin so it is easier to access. and has
the ability to sort files before inserting.

You are able to select files by folder, including or


excluding sub folders, and by a normal file Open
dialog where you can multiselect files.

There is a few settings for color preferences etc.

Please let me know if you have any problems


loading or running this file.

Multi Insert and Fix

http://www.mymcad.com/kwik/iCode/icode.htm (11 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

For working with the Skeleton Approach.

Pick multiple files and it inserts them at the origin and fixes them.

Go from this in a File Open dialog

to this in Inventor in as little time as it takes to load the files

Updated to R1 on 10/30/02 This should allow a larger qty of files to be picked at one time

http://www.mymcad.com/kwik/iCode/icode.htm (12 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

iProps

Updated 03/27/03

Phew ... where to start. It is sort of like DA in Properties Mode. It allows you to view and edit iProperties using the power of Excel, and then write them back
to the file. This project has been started and dropped a number of times and the code shows it. I fully expect a few bugs, and it can easily be broken by
editing the wrong cells or ?? If you follow the workflow below I think you will find it a useful tool.

If you try to run it in Excel 97 it will fail on this line frmPreview.Show vbModeless If you just delete the vbModeless then it will all work OK except
the Preview window won't work. I don't know of any reasonable way to get the preview to work in Excel 97.

Start by clicking on Props (D1) This will expose a dialog to select what Properties to watch. Move the ones you want to watch to the right, and sort them up
or down as desired.

Next click on Add (A1) and use the standard folder dialog to select a folder. I know other methods of selecting are going to be desirable. I know multiselect
of files and the use of Project files would be useful, Until I figure out a good way to approach it this will have to do. 8^) If you have any ideas in this area
please email me.

http://www.mymcad.com/kwik/iCode/icode.htm (13 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

Hopefully Sort and Delete are self explanitory.

After selecting a folder you will be presented with the following dialog. Here you can select the file types to display. The Project Name textbox defaults to
the folder name, but you can change it to a more descriptive name if desired. Use browse if you accidently picked the wrong folder, otherwise select OK.

It will create a new page with columns for the properties you selected, on the files in the folder you selected.

From here you can use the power of Excel to edit the properties.

Return to Projects(A1) takes you back to the original page where a link has been added to this page.

Update (B1) will update the listed properties for the listed files.

Rebuild(C1) will basically erase the sheet and rebuild it listing any new files that have been added to the folder.

Write(D1) will push the properties back out to the files. Note there is minimal error checking so be careful with your edits.

Preview(E1) will bring up a very buggy preview dialog. Some of the problems here are no doubt mine, but I do believe that some are AutoDesk bugs also.

http://www.mymcad.com/kwik/iCode/icode.htm (14 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

Click in the view and mouse wheel to zoom, or pan. Unfortunately I don't currently have a zoom extents.

If you have any suggestions or would like to tell me how you have put it to use please Email me. One of the main things I made it for is so our Purchasing
agent can have easier access to some of the information if I am not around. I would love to hear how you are using it.

Copy n Set Material

Guilty party... Me J

Version 1.0

Added 10/28/02

What it does

Lets you select a Source IPT file and Multiple Destination


IPT files and transfer and set the selected Material from the
source to the Destinations.

Workflow

I strongly suggest not having any Inventor files open to start with when running this program.

Click the ... button at the end of the Source File text box. Browse to and select a source.

Select a Material from the list that you want to transfer and set in other files.

Click on the ... button to browse to and multiselect destination Ipt files. You can use this button multiple times to get to files in different directories. If you
accidentally select a file that you didn't want, Select it in the list, and the full path will show above the list. Use the - button to remove the selected file from
the list. If you goofed royally, select the x button to clear the whole destinations list.

http://www.mymcad.com/kwik/iCode/icode.htm (15 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

When satisfied click the Transfer button, and the program will work its way through the files, and Notify you when it is done by printing a DONE!! in the
Destinations file list.

Enjoy. Please email me with any suggestions or bugs.

Color and Material Transfer

Same idea as the Organizer tool in Inventor, but instead of one file at a
time, select a source file and multiple destination files to transfer all
colors and materials from the source.

http://www.mymcad.com/kwik/iCode/icode.htm (16 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

Material Settings and Selection

Author Stuart Penberthy

Stuart made a nice program to simplify setting up materials and colors that he is graciously allowing me to share.

Set the part to the Material you want, add or remove Materials from the document.

http://www.mymcad.com/kwik/iCode/icode.htm (17 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

Material Specifics

Author Scott Stubbington

This is a handy little Macro if you need to make variations of certain Materials. Simply add a new prefix and or suffix and select "Add Material"

Scott works with "Stainless Steel, Austenitic" almost exclusively and has a need for many variations.

In Scott's words

you already have "Stainless Steel, Austenitic" defined within a part document, the macro will create a new material and add say, "Diameter 30" and "Bar" to
this new material. The new material will copy all the attributes of the existing material you chose, Density, Youngs Modulus, Poisson's Ratio..... and
automatically update the part, if required, with the new material.

http://www.mymcad.com/kwik/iCode/icode.htm (18 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

iMaintenance

Author Michael Best

Currently only For R5.3 Will not work with R6

Schedule Maintenance on your files and forget about them. Options to Compact, Unreserve, and check
Health. Set the directories and file types to run, and set a time and let her rip.

There is a little bit of a explanation in the About box in the How To button.

Batch Update Drawings

http://www.mymcad.com/kwik/iCode/icode.htm (19 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

Author Brian Ekins

Brian was kind enough to let me share a program he wrote that will batch
update IDW files to make sure all the views are up to date. This is
expecially handy to use before doing batch printing or to make sure they are
up to date for anyone using VoloView to look at them.

If you just want to use the program select this Batch Update Drawings Exe

If you have Visual Basic 6 and want to see the source Files Select this
Batch Update Drawings Exe with Source

Obround

Updated 03/27/03

This is mostly just the code in the Help file, with a couple of options added. The part that I added isn't real clean,
but it all seems to work ok with the exception of the angle dimensions. I have fought and fought and couldn't figure
out how to make them end up the way I wanted. You will see what I mean when you run it. I seldom do angle slots
so I just decided to live with it.

This is the Punch obround. It contains two construction lines and a center-point.
http://www.mymcad.com/kwik/iCode/icode.htm (20 of 23)12-12-2003 2:05:20
KWiK MCAD iCode

The Mill slot is measured from the arc centers and only contains construction lines if a angle is selected.

The Ruler

Author Nathan Rutman

Added 11/21/02

Updated 11/25/02 to Version 1.01

Here is the program explanation from Nathon

The built-in measure tools are fine for getting perpendicular distances to
planes and between points, but what about curved edges and surfaces? I was
frustrated by the lack of this ability, so this is my solution. It's a
general-purpose measurement tool to get the closest distance between points,
edges, and surfaces.
Feel free to use it for whatever you like; if you have any suggestions or
bugs let me know.

12/19/02 Nathan removed the password protection so it is now open source.

Hide Show

A couple of little macro's that change the visibility of all instances of a component. One will do only parts on the Top level, the other
affects components on all levels.

I find it useful for fasteners and parts that there is a lot of instances of. It is also very useful for Component arrays. Turn on or
off all components in a array in one click!

Pick the macro, then start picking parts either in the browser or in the graphics window. If the part is visible it will make them
hidden, and if they are hidden it will make them visible. You have to hit escape or choose a new tool to exit it.

http://www.mymcad.com/kwik/iCode/icode.htm (21 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

Sketch and Work Feature Visibility

Also for working with Skeleton type of files.

Most of it is pretty self explanatory, except the Unhide Select

Unhide Select is a toggle button. When pressed down it will hide everything that is Visible and un-hide everything that wasn't. This makes it easier to find
and select what you want to unhide. As you select items they actually get turned off to continue to make it easier to find and select others. When done, toggle
the button up and everything that started out Visible will be restored along with everything you selected. The rest return to being invisible.

The checkboxes allow you to control what the buttons work on.

http://www.mymcad.com/kwik/iCode/icode.htm (22 of 23)12-12-2003 2:05:20


KWiK MCAD iCode

Visibility Enable Gnd

This is a little macro for hiding and showing parts, enabling and disabling and grounding
them. It was made because of a request in the AutoDesk Newsgroups by Orchdes. Special
thanks to MechMan for testing.

The downside of the macro is it is a little slow in large assemblies expecially on the Reverse
buttons.

Rename Holes

Before After

Author Matt Hutchinson

Matt made this very nice little macro to rename holes to their actual value. To the left is a
before and after shot of the browser window.

Here is Matt's description of the program.

The IVB will rename Hole1, Hole2, Hole3, Thread1, Thread2 etc in the browser to the actual
size (Hole1 might be "Hole Ø50 Thru_ 1", Hole2 becomes "Cbore Ø19 x 10 Dp, Hole Ø13 x 100 Dp_ 1", Thread1 equals Thread M10 x 1.5_1 etc) This will
make it easier to track features in the browser.

KWiK Home
MyMcad Home

http://www.mymcad.com/kwik/iCode/icode.htm (23 of 23)12-12-2003 2:05:20


KWiK MCAD iParts

iParts
KWiK Home
MyMcad Home

iParts iCode iPlainParts iMaster

iClips iLinks MDT VBA

Note Almost all iParts were updated on 11/17/02, and verified that they don't contain any VBA in the
Excel portion of them. It was found that the parts that the Excel table contains a VBA macro cause
problems in the OLE process between Inventor and Excel. The parts HFH Pem Stud, FHD Pem Stud,
and the FH Pem Stud. If you have one of these currently I highly recommend you download the newer
version. I apologize for the inconvenience.

I also want to suggest if you use VBA in Excel when making iParts, to delete all traces of it before
saving and using the parts.

Note All iParts have had the end of file marker moved up to conserve space
and reduce downloading time.

Please move the end of part marker down after opening.

Description Size Image

http://www.mymcad.com/kwik/iparts/iparts.htm (1 of 10)12-12-2003 2:06:00


KWiK MCAD iParts

DC Fan Square
124K
10 Standard Sizes

Rubber Grommets
62K
20 Sizes based on HH Smith Catalog

Terminal Block
121K
170 Sizes single and double row based on Vernitron Catalog

Terminal Block Marker Strip


84K
170 Sizes to go with the Terminal Block above

Bivar NARR-O-GIDE Card Guide


66K
17 Sizes double and triple pin based on Bivar Catalog

http://www.mymcad.com/kwik/iparts/iparts.htm (2 of 10)12-12-2003 2:06:00


KWiK MCAD iParts

Richco Cable Clamp


77K
63 Variations based on Richco Catalog

Panduit Cable Tie

Built by Mike Maenpaa 94k

152 Variations based on the Panduit Catalog

Bud Box and Lid 259K

45 Variations of Box, 30 Variations of Bottom New


06/23/02
based on Bud Industries Catalog

126K
o-Ring Face
Updated
8 Variations from -4 to -24
11/03/03
Drawn by Mark Pirkle

http://www.mymcad.com/kwik/iparts/iparts.htm (3 of 10)12-12-2003 2:06:00


KWiK MCAD iParts

Note
All Threaded parts are color coded in the sizes I use most often.
Red = 4-40, Yellow = 6-32, Green = 8-32, Blue = 10-32, Magenta = 1/4
I make the flanges of Pem parts thinner than the specs so that I can do interference
checks without them causing problems.

236K
ALA Floating Nut
New
48 Variations based on Pem Catalog #4 thru 1/4" Sizes 06/18/02

85K
B Blind Nut
New
36 Variations based on Pem Catalog 06/12/02

72K
CL Pem Nut
New
118 Sizes in the #2-56 to 1/2 Range based on Pem Catalog
04/29/02

CS Pem Standoff 94K

136 Variations in the #4-40 to 1/4" Range and M3 to M6 Range New


based on Pem Catalog 06/24/02

http://www.mymcad.com/kwik/iparts/iparts.htm (4 of 10)12-12-2003 2:06:00


KWiK MCAD iParts

F Pem Flush Nut


45K
13 Sizes in the 4-40 to 1/4" Range based on Pem Catalog

FE Pem Nut
77K
28 Sizes in the 4-40 to 1/4" Range based on Pem Catalog

FH Pem Stud
114K
352 Sizes in the #2 to 5/16 and M2.5 to M8 Range based on Pem
Catalog Updated
06/29/02
(could easily separate the Imperial and Metric into two parts if it
is to slow)

FHD Pem Stud 113K

192 Sizes in the #6 to 5/16 and M3.5 to M8 Range based on Pem New
Catalog 06/29/02

HFH Pem Stud 101K

165 Sizes in the #10 to 3/8 and M5 to M10 Range based on Pem New
Catalog 06/29/02

http://www.mymcad.com/kwik/iparts/iparts.htm (5 of 10)12-12-2003 2:06:00


KWiK MCAD iParts

LK Pem Nut 81K

54 Variations in the #2 to #10 Range and the M2.5 to M5 Range Updated


Based on Pem Catalog 07/16/02

N10 Pem Receptacle Nut 59K

7 Sizes in the #4 to #10 Range and the M3 to M5 Range Based New


on Pem Catalog 05/15/02

PF Panel Fastener
85K
26 Variations based on Pem Catalog

87K
PFHV Panel Fastener
New
10 Sizes with 2 Variations of each based on Pem Catalog 05/22/02

PL Pem Nut 164K

14 Sizes in the #4 to #10 Range and the M3 to M5 Range Based New


on Pem Catalog 04/29/02

http://www.mymcad.com/kwik/iparts/iparts.htm (6 of 10)12-12-2003 2:06:00


KWiK MCAD iParts

PR10 Pem Retainer 55K

7 Sizes in the #4 to #10 Range and the M3 to M5 Range Based New


on Pem Catalog 05/15/02

PS10 Pem Screw 60K

7 Sizes in the #4 to #10 Range and the M3 to M5 Range Based New


on Pem Catalog 05/15/02

60K

Updated
SK Pem Keyhole Standoff
06/26/03
21 Sizes Imperial and Metric Based on Pem Catalog
Thanks to
Mike
Maenpaa

TFH Pem Nut 101K

154 Sizes in the #2 to #10 and M3 to M5 Range based on Pem New


Catalog 06/28/02

Kep Nut
53K
5 Sizes

http://www.mymcad.com/kwik/iparts/iparts.htm (7 of 10)12-12-2003 2:06:00


KWiK MCAD iParts

Male-Female Standoff
73K
87 Sizes in the 2-56 to 8-32 Range based on Raf Catalog

Aluminum Spacer 61K

New
124 Variations based on the Raf Catalog
05/06/02

Flat Head Phillips Screw


68K
93 Sizes in the 4-40 to 10-32 Range with 82º, 82º Undercut, and
100º degree heads.

Plastic Reverse Circuit Board Support Round Hole


280K
(Not perfect, but functional.)
New
7 Sizes Based on Richco Catalog (RCBSR) 05/02/02

94K
Plastic Cupped Circuit Board Support
New
9 Sizes Based on Richco Catalog (CHDLCBST) 05/06/02

http://www.mymcad.com/kwik/iparts/iparts.htm (8 of 10)12-12-2003 2:06:00


KWiK MCAD iParts

Continuous Hinge (Piano)


121K
Custom iPart Based on McMaster Catalog

80K
Quad Flat Pack
New
27 sizes Based on IPC Standards 06/06/02

iPart Spring

This is more of a "How To" than a actual part The part 169K
does have 2 variations just to show the method work. It
includes a Doc File Explaining the method, and both a New
English and German Version of the part. 06/05/02

Thanks to Martin Meier from AutoDesk

Square To Round Loft Example 616K

Square To Round Loft Example2


434

Thanks to Mads Sorgaard. A very nice example. New 6/24/03

KWiK Home
MyMcad Home

http://www.mymcad.com/kwik/iparts/iparts.htm (9 of 10)12-12-2003 2:06:00


KWiK MCAD iParts

http://www.mymcad.com/kwik/iparts/iparts.htm (10 of 10)12-12-2003 2:06:00


Inventor Code

Beta of PDF utility: (1.4 Meg Download), See ReadMe.doc in zip Updated April 6th, 2002. This
version should work with both Windows NT and 2000. I haven't tested with 95,98 or XP but it should
work there as well. I have included the Apple Printer drivers (i386) required for NT in case you can't
find your CD or don't want bother to look for it.

4/7/02 Version 1.1:

● Added support for launching your PDF viewer after successful creation
● Now allowed to pick your printer from a list, no longer hard coded
● Fixed timimg issue which stopped printing on small jobs
● Now works when boot drive in not C:

JPEG Beta

AssyPreview Beta

http://www.inventorparts.com/icode/12-12-2003 2:09:17

S-ar putea să vă placă și