AutoCAD Inventor :: Extract Cavity (C015-G) From Block On Workpoint
Sep 4, 2012Is there a way to extract the cavity (C015-G) from the block on the workpoint of the block
View 9 RepliesIs there a way to extract the cavity (C015-G) from the block on the workpoint of the block
View 9 RepliesHow to get coordinates of a workpoint using iLogic.
Config :: Intel (R) Xeon (R) CPU E31245 @ 3.30 GHz, 16.0 GB, 64bit win7
Inventor 2013 and Vault Basic 2013
Simple question: How do you add a WorkPoint in an Assembly? I was hoping to find something like:
dim pt as new point ( 0, 0, 1)
oPartDef1.workpoints.add(pt)
~OR~
dim pt as point
pt.setlocation(0,0,1)
oPartDef1.workpoints.add(pt)
[code]....
It seems like I need to make a geometry (i.e. thisApplicaiton.TransientGeometry.CreatePoint(0,0,0) ) but I cannot find this feature for a component Occurence. I don't want to make a "Global" point, I want to make a point "Local" to a particualar part.
I have a subroutine which creates a WorkPoint with respect to some adjacent components in an assembly. As it happens, this subroutine is called twice; once for each of two different instances of a class. The particular snippet within the sub is:
Dim LowerYPt As WorkPoint = Nothing
Try
LowerYPt = AssyCompDef.WorkPoints.AddFixed(TG.CreatePoint(thisX, thisY, thisZ))
Catch ex As Exception
MsgBox(ex.ToString)
End Try
At least one of the X, Y and Z values are different for the two passes.On the first pass, it runs fine. On the second pass, I get a runtime error:
“System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)) at System.RuntimeType……….”
Using API is there a way to add a WorkPoint where an Axis and a Part Face Intersect?
I need this to be able to create a WorkPlane normal to the surface of the part at that location.
1) Is it possible to extract data from dwf file in autocad 2012?
2)I need to extract blockNames from dwg file but i dont know how to extract blackNames because text in dwg file may change but pattern will remain same.
I am using Visual studio 2010 and Autocad 2012
Is there a way to access the block libary without opening a drawing?
Or what object would you use to speed up drawing data extraction?
For example in other Cad programs you can open the drawing in a read-only mode or invisible and it speeds up the data extraction.
What would be a similiar method for Autocad 2011.
I have hyperlink in the block, and block label with some value,which changes from time to time.
I need in my hyperlink to include the value of label,something like [URL] ........
So how to extract the label value and use it in block hyperlink?
I need to extract data from AutoCad Drawing using C# or VB.Net.
I have a Title Block which is not inserted using attributes. It has some horizontal & vertical lines drawn to look like a table and text added between them. See the attchment.
I need to extract data from that and display in Ms-Excel or in a datagridview.
is it possible to extract attribute values from an block in an External Reference using VBA ?
View 5 Replies View RelatedI would like to ask if its possible to extract part of the drawing from modelspace then add title block in lay-out and scale the extracted drawing...how will i do that?
View 9 Replies View RelatedIs that possible to have a lisp to extract the Field Expression of a attribute in a block?Specifically, to extract the property VALUE (TextString) of this attribute.After to extract, I would like to put this text extracted in a different layout tab, in the same drawing. In this way, I will have a text linked to the attribute value between two layout tabs. So, when I have to change the attribute value, the text will be updated automatically.
I know that if I use the FIELD command to manually copy and paste this value it will work, but when I have a lot of attributes it becomes very laborious.
I was wondering if it was the COND statement that I would need to use to evaluate a block to confirm that two attribute tags existed and if so, if would process the block to perform an attribute extraction of both of those tags. It would ignore blocks that only had one or the other attribute tags - and only extract the attribute values if the block had BOTH of the tags present - It could be blank, but it had to exist.
For example, I want to find blocks that have the attribute tag "PART_A" and "ID" - and then create a CDF that has the value of "PART_A" in the first column and "ID" in the second column. Then it closes my CDF file.
Then, I want it to scan my drawing again for blocks that contain attribute tag "PART_B" and "ID" and then re-open that CDF file and append the values so that the values of teh attribute "PART_B" is in the first column and the values of the tag "ID" are in the second column.
I have been playing with the following code --- is there anyway to modify the code to get it to do what I need? I have already removed the part that writes the header-row....
Is there any way I can extract the rotation of a block relative to the yz axis and xy axis. I can extract the insertion point and xy rotation but not the yz and xz.
View 9 Replies View RelatedI have an assembly with 20 parts.
I will make a detail drawing of the parts in the assembly.
In the detail part IDW I would like to have the qty needed for the assembly 1,2,4 ect.
So how I think the ilogic should work.
In the detail drawing have a rule named QTY when ran auto or manually Will pompt to pick the Top Level Assembly the parts are in.
The user will look for the top level assembly select it.
The rule would filter out all parts but the detail part number and return the QTY of parts needed for the assembly.
I only need the Qty.
I know this is done by the number of Occurrences in the assembly this I can find but what I can't find is how the user would look up the assembly and set it to parts only.
Like the pic below when doing a parts list.
I don't need the select view because it is a part and it would return QTY of 1 but the assembly may have 5.
2012 Factory Design Suite ( will not load 2013)
I have an i Assembly, with a Sub-i Assembly and i Parts. Is it possible to "extract" a copy of one configuration as normal assembly? So that I have an assembly where I can modify parts without touching the iAssembly or iParts.
View 5 Replies View RelatedI created the attached parametrized CF Flange iPart (one can change size, bored/blank, tapped/through, fixed/rotatable). I wanted to extract the cross-section sketches as iFeatures, so that I can reuse it also as sketches. I can extract the "Cross Section (Fixed)" sketch as an iFeature, but not "Cross Section (Rotatable)". I created this iPart file about half a year ago, and as far as I remember I created these two sketches in exactly the same way.
View 3 Replies View RelatedOur team is doing program customization in Inventor 2011 that extract drawings based on 3D model. When the program runs and reached the line that has either open, close and save method, Inventor program automatically terminated and “Inventor Send Error Report” appears. When we tried to debug the program and when it reached the line that has either open, close, and save method, we force to exit our customized program but the same case, when it is totally terminated, Inventor program also terminated and “Inventor Send Error Report” appears. When we investigate the problem, we tried several solutions such as setting the active document to new variable, added a method to pause the program for few seconds, etc but still no effect.
Is there a VBA for Inventor that is intended for 64 bit machine? Because I think we use 32 bit VBA in Inventor. What does “Inventor32bitHost.exe” means in task manager? Is there any relation to Inventor VBA?
Seeing this error
Error on Line 10 : 'SealString_1' is not declared. It may be inaccessible due to its protection level.
Dim SealString_1 As String Dim SealString_2 As String Dim SealString_3 As String Dim SealString_4 As String Dim SealString_5 As String Dim SealString_6 As String Dim SealString_7 As String For Each S As String In SealString_1.Split(",") If i = 0 Then name = S If i = 1 Then name = OD If i = 2 Then name = ID If i = 3 Then name = DE If i = 4 Then name = LI i = i + 1 Next S
I need to be able to extract all "X" and "Y" axis points from a "spline" created in a 2D "sketch" and display them in the "Debug" window (for test only).
View 3 Replies View Related?How can I extract from any model the amount of time it took to create it?. I remember way back that generic Autodesk had in its properties the amount of edit time per file. Does Inventor have any such file or is it located in some hidden area?
View 9 Replies View RelatedIs there a method of extracting XYZ data to use for CNC tube bending from components developed in frame generator ? I know that in routed systems you can export that data, but can the same thing be done with frame generator or any individual bent tube or pipe part?
View 4 Replies View RelatedI'm doing some work with routed tubing at the moment using the Excel XYZ upload facility with auto-bend enabled and it works great. What I would like to know is if there is a way to edit an individual intersect point after the 3D line has been created? I've tried myself but can only movethe complete line, (all coordinates).
I would also like to know if it is possible to extract all XYZ intersect points back to excel or a table within Inventor so I could use the data with a CNC bending machine? Even displaying all coodrinates on the screen at once would be useful.
A working example would be as follows..., I will upload the customers XYZ data to create a 3D line, modifiy specific intersect points to simplify manufacturing and then extract the new co-ordinates to be used for prototyping purposes.
I am trying to extract part locations from an assembly file. I've been successful UNTIL I come to a part/subAssembly where the workAxes is orientated differently then the overall assembly axis. Is it possible to compare the local axis to the global axis? If the answer is 'yes', can sample code be posted (i.e. dim sameOrientation as bool; sameOrientation = ... )?
Also, once I know that "sameOrientation = false," how would one convert local coordinates to global coordinates?
I'm trying to extract the Rev of a model (part or assembly) from a drawing. Since Inventor has independent revs for the model and idw I am trying to drill down and put the rev from the model referenced. I got it to work for ipts and many iams using:
Dim oModelDoc As Document
Set oModelDoc = oDocument.Sheets(1).DrawingViews(1).ReferencedDocumentDescriptor.ReferencedDocument
The problem I have is when the drawing only references an ipn presentation file. The ipn ALSO has it's own independant rev! I'm trying access the model the ipn references but cannot get it to work.
BTW, I do know about the ability to sync idw and ipt properties. I have enable it for our template but we have a lot of legacy drawings that don't have this option selected. I also haven't tested that method with an drawing that only references an ipn.
Code is below with offending section in bold:
' Find model (part or assembly) referenced by drawing if active document is a drawing
If oDocument.DocumentType = kDrawingDocumentObject Then
Dim oModelDoc As Document
Set oModelDoc = oDocument.Sheets(1).DrawingViews(1).ReferencedDocumentDescriptor.ReferencedDocument
[Code]....
Is it possible to create a text block attribute in part sketch mode?
View 2 Replies View RelatedI am trying to create some new templates for 2013 and I'm trying to figure a way to get the model revision number to populate into the drawing's iproperty revision number so that they will match upon save. I'm trying to do this by creating an ilogic rule but I don't see a system property in the idw that will allow me to access the 3D model iprops. I am going to Event Trigger the rule to run Before Save. Is this possible?
On the drawing border I have created a formatted text box that is built as:
Type: Properties - Model
Property: Revision Number
It simply pulls the data from the models revision number and populates the text box. I need this same thing to happen but rather than populate into a text box I need it to populate into the drawings revision number iprop.
Boxx Technologies 4920 Xtreme - Win7 64bit
Intel Core i7 3960X @ 4.5 GHz - 64GB RAM
NVidia Quadro 4000 - Quadro 600 - Tesla C2075 (driver 307.45)
Product Design Suite 2014 (SP1) - Vault 2014 Pro SubRel1 - CFD Sim 2014 - Bunkspeed Pro 2012
Is there a way to scale a block?
I want to create an iPart from a block..
I want to just apply one dimension to the overall width of the block.
I know the best way would be to properly constrain it, but it's a very complicated shape that came from Adobe Illustrator so I'd rather just have it locked in proportion inside a block.
I am using the autodesk suit 2011. The problem I am having is when I copied a block from autocad using the copy command, then used the paste command in an inventor .dwg and it inserted as an autoCAD block. When I check the finished drawing into vault the autocad block does not show up and will not print.
View 2 Replies View RelatedWhen I create a sketch block, there is a description area. After the block is saved, how can I see this information again? If I right click on the block in the browser, I cant find it anywhere.
View 1 Replies View RelatedI know you can add a connection grip point to newly created sketch symbols, but how do you add it to the existing Rev Block from Inventor right out of the box? You can't edit the definition of the Rev Block, I'm stumped. I need to do this so my Rev Block is attached to the titleblock top right corner so when changing border sizes, it follows the top right corner.
View 2 Replies View Related