AutoCAD Inventor :: Address Document Collection Item By Name?
Mar 13, 2012
I was hoping to address a document within the collection by name alone but it never seems to work regardless of which name i use.
Dim oDrawing as DrawingDocument: Set oDrawing=Thisapplication.Documents.Item("TEST.idw")
or
Dim oDrawing as DrawingDocument: Set oDrawing=Thisapplication.Documents.Item("C:WorkspaceTEST.idw")
PS The document is not in the visible documents collection as i don't want the user to see me opening and closing the reference documents.
View 2 Replies
ADVERTISEMENT
Jul 30, 2013
The code below crashes with an "attempt to write to protected memory" in debug mode (it crashes when it hits acDocMgr.add)but in the Release version it works fine. I am using Command Flags.Session
Dim acDocMgr As DocumentCollection = Application.DocumentManager Dim pStyle As Integer = Autodesk.AutoCAD.ApplicationServices.Application.GetSystemVariable("PSTYLEMODE") Dim acDoc As Document = Nothing If pStyle = 1 Then acDoc = acDocMgr.Add("acad.dwt") Else acDoc = acDocMgr.Add("acad -Named Plot Styles.dwt") End If
View 7 Replies
View Related
Sep 28, 2011
How can I get good faxed result after the graphic had been created and pasted to Words and Excel document? Even normal text in black would comes out faded not sharp.
View 4 Replies
View Related
Sep 17, 2013
is there a way to determine the biggest item in a document using javascript?
View 4 Replies
View Related
Nov 26, 2013
I'm working on assembly.While I call parts on assembly, I lost a lot of times to indicate the folder I work on.
View 2 Replies
View Related
Feb 11, 2013
I tried to print thisdrawing.modeldocument in a vba sub, but it doesn't work.
View 4 Replies
View Related
Jan 11, 2012
In our company if we put a component in 5 different assemblies, we want that component to have the same item number no matter where it is in the parts list. In addition we group components to have a special item number... Meaning hardware like washer, bolts, and etc. to start with 500 series number.. Piping components would be 800 series...
Is there a way to do this in ILOGIC/VB?
View 2 Replies
View Related
Jun 16, 2011
I created a hatched sketch on one of my views to represent filler material. I want to balloon to this hatched area, but it want grab it. I have the filler material setup as a custom part. I can also create a sketched symbol for this, but it doesn't appear that they would accept it either.
I am currently running Inventor 2010 Build 272, Release: 2010-sp3
View 2 Replies
View Related
Mar 7, 2012
the "place item from vault" icon is grayed out and not available for selection. how do a place a stock part located in the vault, into an assembly i am currently working on?
View 2 Replies
View Related
Feb 13, 2013
I have a drawing in which I need to keep a part in the assembly but I don't want to display it on the BoM. Is there any way I can remove it from the BoM without removing it from the assembly and drawing?
View 3 Replies
View Related
Oct 15, 2013
There a few dodgy things goign on with my BOM.
I imported a BOM style from another drawing that worked fine, but when I edited the names of teh columns it broke everything again.
THere's a few thigns wrong.
There's no item numbers.
It says the QTY is incompatible units????
And there's teh funny table like icon with an arrow pointing to it with my parts highlighted blue. What does this mean?
Again, everything was fine until I changed the names of the columns and changing the naems back doens't fix it.
View 3 Replies
View Related
Feb 21, 2011
When create assembly, i placed 3 parts in order: A.ipt, B.ipt, C.ipt
And ofcourse the item number will be:
A is 1
B is 2
C is 3
this number will be the same in: item colum (in BOM table), ballon (in 2D drawing).
The problem is: i want to change this number,
A will be 2
B will be 1
C will be 3 when i ballon the part in 2D
I've used "renumber" in BOM, but it just change value in "item" colum (in BOM table), not change in "ballon" (in 2D drawing).
View 3 Replies
View Related
Mar 13, 2012
is it possible to constrain an item twice to a base, because a task i'm doing requires a tank to be constrained to 2 completely different parts. What i've got so far is one end will go through the whole way.
View 2 Replies
View Related
Nov 4, 2013
I have a sketchedsymbol with leaderline. How can I get the BOM of the item this is attached to? I don't see any referenced way to do this. I assume it's possible because a balloon can get this info.
The full extent of what I want to do is to create a split balloon symbol. The top portion of the balloon with hold the detail number, the botton half will hold a user prompted text entry.
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
View 8 Replies
View Related
Nov 25, 2013
I cant seem to find out how to assemble the spring to the rest of my item.
Will you be able to use the assembly if I do not provide the parts used(maximum 3 uploads)?
View 3 Replies
View Related
Jan 25, 2014
I mistakenly created a collection when only one file was highlighted. I made another collection with all the other files I wanted in it, but I can't drag that one file from the filmstrip..
View 4 Replies
View Related
Jun 25, 2013
If I specify a smart collection rule that says the source must be a collection matching some pattern, does this only apply to actual collections and exclude collection sets?
I was hoping fo a way to build a rule based on the collection set ... is this possible?
I also tried matching Any Searchable Text set to the collection set name, but that doesn't seem to work...wouldn't all photos in the collection set be associated with that string? Looks like no.
There used to be a way I thought that you could submit a new thread after doing a question search. That seems to be gone.
View 3 Replies
View Related
Apr 19, 2013
I'm looking to get the file path of a selected part/assembly while inside of an assembly. I think I found something that can get it but the example is just different enough I can't figure it out and I don't have time to play with it. There also might be an easier way I couldn't find while searching.
This is the example code that seems to be able to do loads of things including get the full path, if you know what you're doing.
[URL]
View 9 Replies
View Related
Oct 18, 2012
I am designing a product that opens and closes - how can I represent this on the same drawing in Inventor?
View 1 Replies
View Related
Jun 4, 2012
in case of replacing a component in an assembly the present item number in (structured) BOM table is reassigned through a new one. This cause a lot of troubles in our firm, because this requires rework of item numbers after each replace action. I expected that especially in case of an replace of all occurrences, the item number is kept. Is there a setting to keep item numbers after a component was replaced?
Inventor Professional 2011
Windows 7 Enterprise 64bit
Dell Precision M4500
Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz
8 GB RAM
View 1 Replies
View Related
Apr 30, 2012
I just wondered if can I assign a particular ITEM number to a particular part, instead of relying on order in the assembly.
I unsterstand I can overrite it in BOM but can I have it controlled from the part, so any time I instert it into an assembly, this particular number in ITEM coulmn pops up?
View 9 Replies
View Related
Nov 26, 2013
I would like to obtain, in a structured parts list, the total number of ITEM in the sub-assembly.
See the picture attached for the example.
I have found an iLogic rule to create an user ipropertie in each part, with the total nomber of this part in all the assemby (included all sub-assemblies).
I would like to know if it is possible to obtain the total of this part only in the sub-assembly. Is it possible with an iLogic rule or VBA ?
View 9 Replies
View Related
Feb 19, 2013
For some reason the item numbers in my parts list are blank. All the other information populates.
I've gone to the assmebly and varified that the BOM tabs are active and there are numbers in there.
If I inser the parts list as 'legacy' it works fine.
I can't use the renumber function, it just makes all theh item number boxes go yellow in the parts list box,
Inventor 2013.
View 9 Replies
View Related
Jul 9, 2012
When I created a parts list this morning the list started with item 2 and skipped item 8 as shown below.
why would it do that? I know I can renumber the list, but then when I expand the subassembly to show the subassembly parts, they stay numbered 10.1, 10.2 ect. even though the subassembly has become item 8 with the renumbering. If I expand the subassembly before renumbering, I loose the indented numbering format and simply get numbers 1 to 18. True I could manually renumber all the components, but what would be the reason the parts don't come into the parts list numbered sequentially to start with?
View 4 Replies
View Related
Sep 13, 2012
Is there an application or document setting that will make the default state of a row in a linked excel file used in a parts list default to "off" (not visble)?
More specifically, make this apply to added rows.
We have finish schedules in excel that everyone links a parts list to whenerver they need to display a finish schedule on the idw. However, when we add rows (new finishes) to the the excel finish schedule, they get displayed on the idw parts list next time the idw updates wether they are needed or not. Our practice is to only show finishes that are used on the drawing - so frequently a large portion of the whole finish schedule needs to be set to "off" or invisible.
View 3 Replies
View Related
Jul 12, 2013
I have just managed to create my own title block and have an area within for material. I always use the iProperties to populate the titleblock but there isnt a field for material? Is there a way to add a field so it does what i need?
View 4 Replies
View Related
Jun 27, 2012
I am making a drawing in which I have an assembly of multiple parts and one subassembly. I already have my bill of materials on the drawing also. Can I now show details of each of the parts by calling them out by their item number on the BOM? I realize that I could simply insert another base view of the individual part, but I would rather they be pulled directly by their item number on the BOM. This would be ideal so that the view could automatically be labeled "item 1.1" or "detail 1.1" instead of manually having to insert that text.
View 4 Replies
View Related
Feb 3, 2012
Nesting phantom iAssemblies within another iAssembly? We are having a problem with the BOM not generating the correct multi-item parts lists. Even though the individual iAssemblies act correctly when viewing there individual BOMs, when these parts are nested inside another iAssembly and switched (Table Replace) between individual items, the BOM shows all dash numbers as the current active one.
Any unresolved issues within iAssemblies and the BOM?
View 6 Replies
View Related
Jan 30, 2013
I have created an iAssembly which contains 4 assembly variations. I now want to create an assembly drawing for these variations.
In this case all my assembly variations will have the same assembly part number as essentially they are all the same assembly except for a few "change over parts".
I intend to have one drawing with multiple sheets. Each sheet will have one variation of the assembly on it with a BOM for that specific variation. The problem I am having though is that the drawing BOM for each variation are linked and as a result each drawing has an inconsistant item numbering (for someone in the workshop who doesnt understand the CAD package and iAssemblies - They ask the question: Why are you skipping item numbers in the BOM's)
Is there any way I can get each BOM to show the item numbers sequentially? I tried editing the drawing BOM item number but the problem is that method propogates the item number changes to all the other BOM's as well.... (It is also tedious AND in my opinion it is generally bad practice to edit the BOM at the drawing level)
View 1 Replies
View Related
Nov 17, 2009
Using Inventor 11...How do I change change the balloon (item 40) to read qty of 2? There are 4 total in the assembly, but this particular balloon only shows where 2 are, and another item 40 balloon will show where the other 2 are.
View 9 Replies
View Related
Nov 23, 2012
Is it possible to make the column 'REV' automatically equal to the 'Item' column in attached BOM view? I manually added the values 1 to 5 in the REV column for example.
Maybe with some ilogic rule? I don't know if it's possible and/or where to start.
When i place a mono-part-detail on a assembly drawing i want to be able to place a leader referenced to the REV value. When this is possible there is a link between assembly item number and the mono-part leader.
View 1 Replies
View Related