Opening drawing detail from assy
Opening drawing detail from assy
(OP)
Is there any way to open a drawing directly from an assembly? right clicking the tree doesnt give me the open drawing option i liked so much in sw.
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
Opening drawing detail from assy
|
RE: Opening drawing detail from assy
http://www.cbliss.com/inventor/iCode/index.htm
It has been a request for some time but never adopted into the program
RE: Opening drawing detail from assy
RE: Opening drawing detail from assy
So your out of luck then
RE: Opening drawing detail from assy
RE: Opening drawing detail from assy
Its such a basic requirement I suspect there is a major software problem lurking somewhere that prevents it
RE: Opening drawing detail from assy
RE: Opening drawing detail from assy
Sub OpenIDW()
On Error GoTo Oops
Dim oDoc As Document
Set oDoc = ThisApplication.ActiveDocument
Dim sFullFileName As String
sFullFileName = oDoc.FullFileName
Dim sDrawingName As String
sDrawingName = Left(sFullFileName, Len(sFullFileName) - 4) & ".idw"
Dim oDrawDoc As DrawingDocument
Set oDrawDoc = ThisApplication.Documents.Open(sDrawingName)
Exit Sub
Oops:
MsgBox "IDW File could not be found. FileName of IDW must be the same as this file.", vbInformation
End Sub
RE: Opening drawing detail from assy
(Might not be the correct way but this is how I load them and make a button for them)
Copy the code above to notepad and save it as Openidw.bas
and save it in the Bin/Macros folder of the current inventor version you are on.
Then with no files open in Inventor go to "tools".."macro".."visual basic editor" then in the right hand window navigate to "ApplicationProject(should have the location of your project file or something like that) and expand the + next to modules. Then go to "File".."Import File" and select the Openidw.bas. Then save and close visual basic editor.
Then in inventor open your templates for both iam and ipt files and select "Tools".."Customize" and change to the Commands tab.. Scroll down in the list on the right for Macros. There you should see the newly loaded macro and by simply clicking it and holding down and dragging to a location on any of the toolbars you should be able to place it as a button..
..Please note I didn't write this code nor to I want to be held liable for any damage you do using it.. Use at your own risk...
RE: Opening drawing detail from assy
RE: Opening drawing detail from assy
RE: Opening drawing detail from assy
Why its not part of inventor already is beyond me.
Seems Autodesk is too busy copying Microsofts new Office 2007 type UI (Ribbon bar sytle program layout like Autocad 2009) that they just don't have time to add simple yet powerful features to the program and leave well enough alone.
RE: Opening drawing detail from assy
RE: Opening drawing detail from assy
We have virtually dumped Inventor and have cancelled our subsciption and have bought two seats of Solidworks with Subscription.
Not totally due to the lack of ability to open drawings as there are plenty of other problems too but it was definatly one of the stupidities of the program that wound me up every day and led to the move
So well done mcgyvr and hard luck Autodesk. But for this you might have had two more seats with Subscription.