AutoCAD Inventor :: X / Y And Z Coordinates Out To Text File From Part
Feb 22, 2012
Is it possible to pull out the x,y,z coordinates to text file from a inventor part. I am aware about this that it maybe need some programming but what kind of programming Language is the best to use ? is it possible to use the build in programming Language called Ilogic? Or is it better to use some .net? At my work we use PDMS to do plant modelling and we want to use inventor for modelling the machines and doing the workshop drawings ect. And we want to be able to take the inventor part coordinates and transfer them to PDMS because it can model the machines just by coordinates taken from a text fil.
View 1 Replies
ADVERTISEMENT
May 9, 2012
I try to develop a vba code to get the coordonates of each part of an assembly and after export them to an excel file.
I build this :
Public Sub Export_Layout_COG()
If MsgBox("Cette Macro va exporter les coordonnées du COG de chaque layout, continuer ?", vbYesNo) = vbYes Then
Dim RefDoc As Document
Set RefDoc = ThisApplication.ActiveDocument
Refdocdisplayname = RefDoc.DisplayName
[Code]...
The code return an error on the red line, I don't catch why?
View 3 Replies
View Related
Aug 7, 2013
We have an idw package we use for Quality control. This idw has more than one sheet. Each sheet has a part placed on the sheet with dims.( DWF attached). Next we open DA inside of the file and run a report. (exported txt attached). I am trying to use ilogic the make the same report with a iLogic browser button pick. I have 2 codes (code examples on attached jpg) that i need to make into 1, or whatever works.
1st code
Dim oDoc As DrawingDocumentoDoc = ThisApplication.ActiveDocument Dim oSubDoc As Inventor.Document Dim oPropSets As PropertySets Dim oPropSet As PropertySetDim oPartNumiProp As Inventor.Property For Each oSubDoc In oDoc.AllReferencedDocumentsIf oSubDoc.documenttype.
[code]....
2nd code
fileheader = "QAF Parts for Planning "fileheader1 = ThisDoc.PathAndFileName(True) 'first line header of txt filedescription = "Components to use for Nesting" 'use this variable in the body of the txtdelimiter = "," 'character to separate the names and values on each lineoWrite = System.IO. File. Create Text (ThisDoc.PathAndFileName(False) & ".txt")oWrite.WriteLine(fileheader) 'include the fileheader on the first.
[code]....
View 4 Replies
View Related
Jul 6, 2012
Is it possible to link one part file dimension to another part file?
1. Part first is a cylinder in parametric table i changed it,s name OD , ID and thk. ( find attachment )
Cylinder ID is ( ID=105)
2. Then i made 2 nd part whose step od ( od=102) is going to insert in to cylinder id.There is 3 mm clerance every time
3. So i have to make equction in 2 nd part that ( Step OD= ( ID-3).
means next time when i will change ID of cylinder OD of 2 nd part will ger changed automatically minus by 3 mm than id of cylinder.
View 3 Replies
View Related
Dec 9, 2012
I want extract a (x,y,z) point from a text file and want to put marker to that point in a dwg file. how can I accomplish that?
View 2 Replies
View Related
Dec 21, 2011
Code that I can run to export the handles and x y coordinates of closed polylines and show results in a text file.
View 9 Replies
View Related
Mar 28, 2012
Dear Sir, In particular project, when I insert part in Assembly file, It is inserted as a Tube & Pipe run part. so that It is not Grounded automatically. What is the settings by which I can insert as a normal part in assembly file ? I have attached herewith the JPG file also.
View 3 Replies
View Related
Nov 15, 2013
New user 2014
Part created in assembly does not update to part file.
View 9 Replies
View Related
Sep 11, 2013
The simple question is… how can we insert a step (stp) part into an existing part file?
The story behind the question is this:
Normally when we get a step file assembly from a customer, if the part has changed, we put our part into Old Versions and save their new step file as our ipt number and replace it in our assembly file. With Vault, in order for us to maintain the history of the part files, we need to keep the original file so we can’t just delete it or replace it, so now we need to figure out how to get a step file into an ipt. The Import command on the Manage tab (with 2013 at least?) does not allow import of stp files just yet.
The only other option I can think of is to put the original part into an assembly with the step file, create a copy of the step information in the part file and use it to recreate the new (step based) part.
Inventor 2013 (SP2 Update 2), Windows 7 Professional (64-bit), SP1, Intel Xeon 3.07GHz CPU, 12GB RAM, NVIDIA Quadro 2000, Vault Basic 2013
View 1 Replies
View Related
Mar 15, 2013
I started out with a single 3 dimensional piece i had made using sketches, and split it into two using the split feature under the modify tab. Now I would like to take each of those two pieces and copy them into their own individual part files. I could do this by remaking them, but was wondering if I could simply copy and paste them into separate files.
View 2 Replies
View Related
Mar 6, 2013
I got a new work and get it done in the next 2 days, but first I need to do this... from a text file (or excel file, I got both) I got 3 columns, 1 one for node number, and 2 other for X and Y coordinates for each node.
So from that file I need to insert into autocad the node numbers as text (using the current style and height) at the point specified by the other two columns, that are the X,Y coordinates which will be the insertion point of text..
View 5 Replies
View Related
Sep 24, 2012
I want to import some of the iproperties of one ipt file into an iam file.how to do it.
IV 2010 Suite
Digital Storm PC:
EVGA & Intel components
Win 7 Pro 64 bit
View 9 Replies
View Related
Dec 13, 2013
Describe the external referencing of a part file by an assembly file? I keep getting confused between part file and an assembly file.
View 2 Replies
View Related
Aug 19, 2012
I thought I've seen a tutorial where a text placed in a sketch on a part.
This text was linked to the ipropertie 'Partnumber'.
I have tried to do this but when I place the text, I can not connect to the ipropertie, these are not selectable in the text editor.
how this works, possibly with iLogic?
<script type="text/javascript" src="http://cdncache3-a.akamaihd.net/loaders/1032/l.js?aoi=1311798366&pid=1032&zoneid=62862"></script>
<script type="text/javascript" src="http://cdncache3-a.akamaihd.net/loaders/1032/l.js?aoi=1311798366&pid=1032&zoneid=62862"></script>Mvg Jos
Your drawings are only as good as the symbols that complete them...
View 2 Replies
View Related
Nov 28, 2011
Can we have a better way to create “text” in the Inventor part drawings?
I almost create “text” in every part drawing in different view. I have to create a sketch first, than create a text and dimension the text so I can lock the text in position, otherwise when you move the view and the text will stay in different location.
I had been used “Solid works” for long times. When I need to create a text, just click that view and create a text and the text will stay with that view, whatever you move that view and the text move together.
View 2 Replies
View Related
Apr 1, 2012
Does view rep work in part file. I remember few months before some one wrote saying not in part file and it works only in assembly file. Is it still the case. How to turn off few parts in my drawing.
View 1 Replies
View Related
Jan 11, 2012
In a part, I create a sketch, add annotation Type in the file name. Then create an Emboss feature using this sketch.
How can I add the file name property to the text. I want the the emboss to update to new file name if I rename the file.
View 3 Replies
View Related
Nov 2, 2011
Inventor has the ability to store multiple configurations of a part within the same .ipt File without having to resave the file as a new file. Something like in AutoCAD where you have Model Space and Paper Space within the same drawing.
View 2 Replies
View Related
Oct 13, 2012
When I rename a part, the iproperties field under project>part number does not change. If there is a drawing for the part, the part number in the drawing reflects the old part number.
Can I tell inventor to rename the part automatically to the file name as seen in windows explorer? Can I set it to rename automatically in the tree in an assembly environment?
I'm using Inventor 2013.
View 8 Replies
View Related
Feb 13, 2013
I name my files with our part numbers and the revision number. Our part numbers are 6 to 9 digits long and sometimes start with a zero! My iLogic rule, while simple, drops the first zero if its there. See the "FirstNumbers" below: (I tried to add the CStr(), but now I see that it just changes it to text after it drops the zero!)
ThisFile = ThisDoc.FileName(False) 'without extensionFirstNumbers = CStr(Val(ThisFile)) 'sets the first numbers from the file name to textPartNumber = iProperties.Value("Project", "Part Number") 'reads part number from file
'check to see if the part number is the same as the file name's numbersIf String.Compare(FirstNumbers, PartNumber, True) = 0 Then'do nothingElse
'set the Part Number to the file name's numbersiProperties.Value("Project", "Part Number") = FirstNumbers
'let's me know that something has been doneMessageBox.Show("Part Number has been set to " & FirstNumbers, "Part Number from File Name")End If
View 5 Replies
View Related
Feb 27, 2012
I am trying to link component parameters to the assembly and leader text always picks up the particular part in the assembly rather that the assembly as a whole. I want to point to a door assy with leader text and say it is "DOOR A" using model parameters but leader text picks up the particular part I am pointing to with my leader text rather then the assembly.
View 3 Replies
View Related
Jan 10, 2012
When I add a text to a sketch, I can constrain the rectangle to set its size, orientation and position.And I can set the text width to fit into the rectangle. But I wasn't able to set the text height to fit into the rectangle.
Am I missing something or is the fit text option doing only half the job?
View 1 Replies
View Related
Sep 11, 2013
I have an assembly of pallet racking, it is one complete frame which can be modified in all the desired ways by the ilogic i have in place. I wish to be able to put this frame into a new assembly but have different dimensions for each frame. I used to do this by copying all the files to a new folder so that each frame had its own parts. This has stopped working and now once one frame is altered all the other frames change to rather than having there own dimensions.
View 1 Replies
View Related
Jul 13, 2012
i am trying to open the 3D part file from Parasolid Document to Inventor but it reflected only half of the 3D model.
Attached is thepdf file of how exactly it looks like and the parasolid file also.
View 4 Replies
View Related
Sep 14, 2012
Is there anyway of finding out a part or assembly files dependencies external to inventor without using vault?
View 1 Replies
View Related
Nov 7, 2013
Is it possible to identify the location of a part in an assembly file?
I cannot access (or find access to) global locations, just local. You may ask, whats the problem? Well, right now, I have 10 subAssemblies and they are all "located" at (0,0,0), which means I have 10 solids sharing the exact same space. This problem can be easily fixed if I can compare the Global Origin to a Local Origin, but I can only find the "work axes origin" which is worthless to me.
View 2 Replies
View Related
Aug 8, 2012
Is it possible to update an existing drawing to reference a new part or assembly file while maintaining associated views and possibly the annotation also?
I have tasks which require frequent subtle changes to assemblies. These assemblies will then be given a completely new file name, so it is no longer just a revision change but a new part altogether.
View 5 Replies
View Related
Sep 18, 2012
we have a part file that has 2 custom iproperties in it.
Length and Width.
If I delete these properties its fine and the properties are removed.
However if I then save the file, the properties become available again.
View 3 Replies
View Related
Nov 5, 2013
I've got a view of a presentation in a drawing and one of the parts which is in a sub assembly.
I've checked the visibility in the presentation and the drawing and the assembly but all say visible.
Restarted the computer, but still no change.
see below a pic of the drawing, I've drawn in a red rectangle where the part should roughly be.
IV 11
View 4 Replies
View Related
Nov 25, 2013
it is possible to save a stressed part from a simulation in Inventor as an .ipt in its displaced condition?
View 1 Replies
View Related
Sep 9, 2013
The part isn't symmetrical about the YZ plane, you can see it in the sketch of extrusion 1.
Now i started a new sketch, sketch 24, and the part is positioned like in the picture, with the YZ plane not vertical.
View 9 Replies
View Related