AutoCAD Inventor :: Find Related Drawing Using VBA
May 31, 2013
I'm trying to write a VBA macro (for Inventor 2010) that would have to work on drawing .idw files that are generated from a given component.So when I have an open assembly document, I want to go through all component occurences and work with the associated drawing.
There's a built in command in Inventor for that, in the context menu, something like "Open drawing" (mine is german, so not sure how it's called in english), which does this. It opens the drawing of the given part. From this I assumed, there must be a reference within each part, that points to the referencing drawing.
But I'm not able to find this information anywhere within the properties/objects of any component.how or where can I get this information out of the components?
View 5 Replies
ADVERTISEMENT
Jul 28, 2013
How to zoom in and out via the API.
I can access the camera and eye etc. but cannot find the property related to zoom. I initially thought it was to do with the position of the eye but when I use the "Zoom" by dragging the mouse button I see that the eye position doesn't change.
I would like to connect the zoom to a slide bar and zoom in and out using that.
View 1 Replies
View Related
Feb 24, 2013
when I'm in a part file and attempting to open the related drawing file by right clicking on the part name at the top of the design tree, the drawing can't be found automatically and I've to find it in the file open dialogue box.
View 2 Replies
View Related
May 20, 2011
I draw a rectangle, and I want to draw a line coming out from the rectangle. Normally I would use OSNAP to get midpoint and endpoint, but this time I want to draw it from any part of the edges of the rectangle.
How do I get the cursor to "snap" to the lines of the rectangle? Similarly, I would like this function for the MOVE tool as well, I used this method in Sketchup before and really liked it a lot.
How do I achieve this in AutoCAD? I tried Nearest, Perpendicular, but they don't work as well.
edit: just found out my subject line is not related .
View 2 Replies
View Related
Nov 24, 2009
I'm relatively new to the software and have somehow managed to delete/remove the bar/ribbon with all of the functions related to the actual drawing of..well a drawing.
View 6 Replies
View Related
May 3, 2013
how to identify the model associated with a particular PL on a drawing. I'm able to find a PL and write to the header which is cool. But I'm trying to determine the model associated with the BOM pipline so I can get it's P/N iproperty and write that to the PL header.
View 2 Replies
View Related
Aug 9, 2012
I would like to know how I can find a dimension that's created with the command (with the internal command name) "Create3DLinearDimension".
This command is used to create a linear dimension on a view that has the default dimension type set to "True".
View 3 Replies
View Related
Apr 16, 2013
My question is to find the dimension in the drawing area
for example
If we observe in the drawing left hand site we can see alphabets in the border area and number at top border area
if the dimension lies between "A" on left hand side and "1" on top border srea
then i want a message the dimension lies on A1
View 1 Replies
View Related
Sep 22, 2012
I have a part called rectangle.ipt (simply a rectangle in it).
I have to creat another part, called rectangle_holes.ipt. This one, is the same as rectangle.ipt, same dimensions, but has holes in the rectangle.
Is there a way that theses 2 parts could be related, so that if the dimensions of rectangle.ipt changes, rectangle_holes.ipt automaticaly changes?
View 2 Replies
View Related
Oct 5, 2009
Is there a way (either thru Inventor or Vault) of print ALL idw (drawings) files related to an iam (assembly)?
Inventor (and Vault) are capable of creating and managing a BOM of the iam files and would think that it would be reltivly easy to query this bom and "find" all the associated idw files and batch print them. Possibly with the option to select the "levels" to dril down to (All, Top Level, Sub Assemblies within the iam, etc, etc)
View 9 Replies
View Related
Jul 7, 2011
My attempt to plot all related files form an ".iam" resulted with the following code. The code as is working for us. We use an eight digit number for file name. Plotted PDF will have revision added to file name. Any chance of making an addin or iLogic code for similar functionality?
Private PDFPATH As String'FOLLOWING CODE USES CODE FROM URL...AND OTHER PLACES INCLUDING INVENTOR HELP.Public Sub PrintRefFiles() 'BOMQuery() ' Set a reference to the assembly document. ' This assumes an assembly document is active. Dim oDoc As AssemblyDocument Set oDoc = ThisApplication.ActiveDocument Dim ASSYIDW As String ASSYIDW = oDoc.FullFileName ASSYIDW = Replace(ASSYIDW, Right(ASSYIDW, 4), ".idw") If Dir(ASSYIDW) <> "" Then 'Debug.Print strDisplayDim oDrawDoc As drawingDocument Set oDrawDoc.
[code]....
View 2 Replies
View Related
Jun 17, 2011
Is it possible to use a user selectable browser for all related functions?
I'd like to see the possibilty to select with which webbrowser Inventor interacts.
Currently the wikihelp opens in my default browser (Google Chrome), but the help function and subscription links open in Internet Explorer.
View 3 Replies
View Related
Apr 19, 2012
Is there a way in Inventor to take an assembly feature and basically have it fall out at the part level also? So if you were to open the part up, it would have the cutouts in it.
View 2 Replies
View Related
May 20, 2013
I want to duplicate & then rename a project I have stored on my vault computer, However I am experiencing many difficulties.
There are probably around 1000 + files in this project-multiple assemblies/drawings & parts. Initially i did a Pack & Go of the Project to my desktop. I then took my first top level drawings & using Design Assistant renamed all the reference parts and assemblies related too it. This worked fine, albeit a very long time to rename all the files.
The problem is that i have say 50 drawing files, some contain similar assemblies/part files which will have already been rename in the first top level drawing & some container different assemblies/parts (which are not related to the first top level drawing) & will have to be renamed separately.
Is there an easier way to duplicate & rename a vault project because design assistant makes this task extremely laborious. An great tool to add would be to 'Find & Replace' a file name & apply it too all the files. Similar to the function in Microsoft Word.
I have looked into the copy design feature in vault however, you can only copy a project within a project, you cannot copy it to a completely new folder in the vault.
The other problem is, is that you can only add a prefix or suffix to every file/related part/assembly, & i would rather replace the project number rather then add the new project number to the file names. This would be a viable option if you could rename multiple files quickly, however this just stems back to the design assistant.
View 3 Replies
View Related
Mar 24, 2012
For the last few years I had my content center libraries running as part of the vault server. I have not made any customizations.
I want to try to have the content center libraries on my local machine to see if that speeds things up.
Is that possible while still using the vault server for our regular data?
Do I need to make any changes to my project file?
IV210 Professional Suite
View 2 Replies
View Related
Apr 12, 2012
I'm using Inventor 2012, and experiencing some trouble with certain types of projected geometry that I'm using in a sketch associated with a view in an .IDW file - but only when the view involves a break (or breaks).
I'm generating section views to show the layout of hole details at various axial locations along the part. When placing a section line, I can't "pick up" any appropriate locating geometry from the view. So, after creating the view (using just a vertical section line), I edit the sketch that defines the section line. Project some geometry (the edges of the holes, in the attached example), draw some additional geometry constrained to that, then constrain the section line to that. That works fine; if I move the view around, the section lines stay attached to it. This is what is shown in the attached "before break" picture.
When I apply a break to the drawing, though, the section lines don't follow the changing view. They stay right there, as if the view had not been broken at all. This is what's shown in the attached "after break" picture. Move the view around, and they track with it - but always staying the same "real" distance apart from each other. It is as if that projected geometry were completely ignoring the break.
I observe something similar if I start with an IDW view with one or more breaks, then create a sketch associated with the view. If I project geometry, some of it projects where it should, but other geometry projects elsewhere on the page - as if no breaks were present in the view.
The part I've shown here is something I put together as a simplified example of what I'm observing. The part I'm actually trying to detail is more complicated (many more details), and much longer (so breaks are a requirement to put it on paper).
View 3 Replies
View Related
Jan 24, 2012
I am using windows 7 on my macbook pro. I am using autoCAD 2010. I can create and save files, however I can't open them. When trying to open a file, a message pops up saying "Cannot find the specified drawing file. Please verify that the network drive is available and the file exists."
View 4 Replies
View Related
Dec 13, 2012
Any command that I could use to find the scale of a drawing. I am having to put some vendor drawings into company borders and I am having to do it by eye currently (which I really do not like doing). I am just curious if there is some way I can find out the scale of the existing vendor dwg so I can scale the border correctly and accurately.
View 9 Replies
View Related
Jul 27, 2010
When I try and open a file from the network that another user already has open, I receive the following message:
"Cannot find the specified drawing file. Please verify that the network drive is available and the file exists".
This happens when using Novell Netware. Is there a resolution?
View 2 Replies
View Related
Jan 26, 2012
When I start my 'puter up for the first time for the day and I double click a drawing file to open it, without first starting ACAD from the ACAD.exe, it begins to open the file but then says it cannot find it, but it still starts ACAD and opens Drawing 1.
This may be linked to another problem I need an answer to.
I had 2011 C3D installed, uninstalled it, then installed 2012 C3D. Stand alone license.
Now the icons for all dwg files, the one that should show that ACAD is the application that opens it, does not show in windows explorer. See the attachment.
I have done the "file open with ... Always use the selected..." thing with no result. I have also used the repair function on the install disk with no result.
View 1 Replies
View Related
Dec 2, 2010
I am cleaning up our company standart blocks and there is a font I want purged/deleted, but I keep getting the message that the font is in use.
I have checked the dimension styles, the multileader styles and cannot find it.
Is there a way to find out where it is being used?
View 8 Replies
View Related
Oct 27, 2011
How do I get the xrecord attached to an entity in a drawing, without key?
View 1 Replies
View Related
Oct 17, 2012
I started 2D drawing in ACAD2010 without any settings like unit,layers etc.
But i want to know, How to find the unit am i using the dimension ? like inches or mm.
View 1 Replies
View Related
Jan 9, 2012
Today i Get new Drawing then i tried to find out the area of certain room. Then The Room less than 10 m2 is ok but the area more than 10 m2 meter is coming like this area 1.03310963E+07. How to change this setting.
View 3 Replies
View Related
Jul 31, 2012
I need to find lines that overlap one another in a drawing and mark them, not delete them. I am running AutpCAD Map 3D 2012.
View 3 Replies
View Related
May 14, 2013
I need to change the section view name height..I can able to collect all the text and also able to change the height. But only for the view names i need to change the height. Im using COM API...
Here is my code.
//why i used 3 here is ,because section view name strings will be like" A-A"
//im also try to assign color for the view name
if (acadText.EntityName.Length.Equals(3))
{
acadText.Height = 6.0;
AcadAcCmColor sectionViewTextColor = acadText.TrueColor;
sectionViewTextColor.ColorIndex = AcColor.acMagenta;
acadText.TrueColor = sectionViewTextColor;
acadText.update();
}
View 2 Replies
View Related
Aug 6, 2013
I'm trying to find the quantities of blocks on drawing. I used "quick select" command - select by Block Reference. My blocks have some customer’s attributes (for example type of block) which I couldn't find on block reference list.
View 9 Replies
View Related
Dec 19, 2013
is there a way of find and replace tab names in one drawing file? one file with six tabs named 001 rev A, 002 rev A etc. i would like to change all the "rev A" to "rev 0" with out going into each tab seperatly and changing them.
View 2 Replies
View Related
Aug 28, 2012
i have gotten a drawing from another user and have managed to purge all of thier layers except for one. I have deleted everything out of the drawing, done "select all" numerous times and deleted, but this layer still won't let itself be deleted. I have made sure it is not the current layer, w blocked the whole drawing etc. There was an ole image in this drawing at some stage, could that have left this horrible layer "25L"???
I hate when i have rogue layers in my files
View 3 Replies
View Related
Jan 24, 2013
Is there a way to find the latitude and longitude of a point in an AutoCAD drawing?
View 4 Replies
View Related
Jun 21, 2012
Is there a way to find out the coordinate system and projection of a drawing sent to me? I do not have AutocadCivil3d. I have Autocad2013.
View 3 Replies
View Related