AutoCAD Inventor :: Automated Dimension In Ilogic?
Jun 12, 2013
I am mechanical drawing and search a better way for the drawing generation. I have to learn some of VBA (or VBS?) for use Ilogic rules. My questions are:
1.- How learn or search more easily and faster the inventor objects for drawings and how to use this objects, undestanding the relationship between its function names and another properties for writing the correct mode in VB? I know some of VB buti see that the library objects from Inventor are "a lot of stuff".
2.- Is there a rule that can get, automatically, the centerlines from a drawing, when the drawings is generated in a idw file? (10 drawing in one idw file ).
Intel i7 2630 processor
6 Gb Ram
Nvidia GT350
View 4 Replies
ADVERTISEMENT
Feb 14, 2012
I'm attempting to create a model that autmotaically derives ready-to-go drawings. I've gotten pretty far in doing so but have a few issues with regards to dimensioning. As I'm sure you're aware, when the model changes, a dimension to that feature, which has been removed, is also deleted and some those dimensions do not return once the model is changed back.
I have looked into using different view representations, but have found that they do not accommodate feature supression.
Is there a way to program in the dimensioning of a view.
Create center points for of the holes and center lines.
And for a feature note such as "Hole and Thread" dimensioning, when the model expands, the leader and text length do not change and proceed into the view. Is there a way to fix or anchor the text to a certain spot on the drawing, and have the leader length expand and change accordingly to that point.
View 9 Replies
View Related
Feb 14, 2012
I'm attempting to create a model that autmotaically derives ready-to-go drawings. I've gotten pretty far in doing so but have a few issues with regards to dimensioning. As I'm sure you're aware, when the model changes, a dimension to that feature, which has been removed, is also deleted and some those dimensions do not return once the model is changed back.
I have looked into using different view representations, but have found that they do not accommodate feature supression.
My questions are:
Is there a way to program in the dimensioning of a view
Create center points for of of the holes and center lines
And for a feature note such as "Hole and Thread" dimensioning, when the model expands, the leader and text length do not change and proceed into the view. Is there a way to fix or anchor the text to a certain spot on the drawing, and have the leader length expand and change accordingly to that point.
View 2 Replies
View Related
Sep 26, 2012
I'm currently trying to make an automated fence generator with Inventor 2012 driven by iLogic rules.
My model is done now, and my BOM information (description & part number) is set correctly.
Now is my problem some parts are not supposed to be in the BOM at a certain moment.
Example.
If fence_type = 1 Then
Beam-001 = default
Else If fence_type = 2 Then
Beam-001 = reference
Else If fence_type = 3 Then
Beam-001 = reference
End If
But what do write to set BOM status of a part?
Inventor 2013
View 5 Replies
View Related
May 28, 2013
I have one problem in ilogic "How to convert the normal dimension to driven dimension through ilogic"
View 4 Replies
View Related
May 17, 2012
So my problem is that I need to include a line on a part drawing that isn't related to the part itself. I need to be able to override the dimension of the line I sketched so that I can include it in my drawing and update the dimension without having to change anything else on the part.
Basically, I want an iLogic rule to overide a dimension, and I don't know how to do that.
View 1 Replies
View Related
May 30, 2013
I am trying to find a way to have iLogic code that looks at a part with only one extrusion, such as bar stock or angle stock and automatically export the length to iProperties. As per the request of the other engineers however, this code cannot be based on a common renamed parameter. Also, since no one draws things the same exact way, it can't be based off of a common dimension parameter either. At least not in terms of d0,d1..etc.
Is there such thing as a code similar to variable=standard.extrusionextentslength that I can imbed within an if then that would pull this information from the model?
View 4 Replies
View Related
Nov 2, 2012
I was looking to change the fonts in a drawing for the Dimensions and Symbols that might have been inserted in the Dimension text entries.
This can be done manually bu editing the dimentions text after placemement, but I was ooking to set this as a default.. I cannot see where exactly this is controlled in the Styles Manager - I am only able to change the Dimension text font but the diameter symbol font is always on AIGDT.
I was therefore looking for an iLogicvb code that could do the trick, but I am not able to even change the dimension fonts... The code runs with no errors but nothing gets updated in the drawing...
Dim oDoc As DrawingDocument
oDoc = ThisApplication.ActiveDocument
Dim oSheet As Sheet
oSheet = oDoc.ActiveSheet
[Code]....
InventorVb.DocumentUpdate()
View 3 Replies
View Related
Jun 2, 2008
How I can put in VBA the Automated centerlines. Because I looked for and not find nothing that can do this.
View 4 Replies
View Related
Oct 1, 2008
I have an assembly that is a general model with different modules that all are iAssemblies.
With this model I can speed up the design process at the company I am working for.
In the model I only choose the correct member for the iAssemblies and the assembly updates correctly and just with a couple of clicks I have made a configuration of all the modules.
Now, I would like to take it a step further and have the drawing, for the specific configuration, generated automatically.
In the drawing I would like to have the master assembly presented in sheet 1 and the modules presented separately in different sheets, all sheets with BOM lists.
Is this possible to do?
(Next step is to export all the BOM lists to an excel document that can be sent to the product co-ordinator to build up the database system)
View 4 Replies
View Related
Apr 5, 2013
I would like to introduce a macro to handle the skeletal method.
[URL].........
View 1 Replies
View Related
Jan 23, 2013
creating a named sketch block (in an ipt) containing entities that I have created in the same sub? I'm doing this from Excel, in Inventor 2010.
What I have:
Function CreateUncutTagSketchBlock()Dim IVApp As Inventor.ApplicationDim oDoc As DocumentDim oCompDef As ComponentDefinitionDim oSketch As SketchDim oTG As TransientGeometryDim FileName As StringDim Coords(1 To 10) As Point2dDim oSketchCircle As Circle2dDim oSketchArcs(1 To 2)
[code]....
note that i've also taken a shortcut with the arcs, and the circle. I did try to create them using the same naming convention as the lines, but... I failed to implement it successfully.Also, I can not quite figure out how to constrain all the start/end points together.
View 2 Replies
View Related
Sep 11, 2013
Is there a reason a sheet metal "cut" isn't an option for the automated centerlines tool? Am I overlooking something? When I make holes in sheet metal parts, I draw the circle then "cut" it into the sheet metal. For some reason I can't find how to give those automatic centerlines on drawings.
View 6 Replies
View Related
Aug 16, 2012
When I click to to automated centerlines, it usually places a vertical/hozional centerline on all the circles in the drawing like in the first attachment. But, sometimes it will make the centerline to angle around the center like in the second attachement.
What you have to do so that the centerline come off at angles like in the second picture?
Otherwise I end up using the centerline feature and drawing them all in which is a real hassel!
View 6 Replies
View Related
Aug 17, 2012
I am trying to generate automated drawing for my assembly and iam trying to run the following code
Imports Inventor.ViewOrientationTypeEnum
Imports Inventor.DrawingViewStyleEnum
dim oDrawingDoc as DrawingDocument
dim oPartDoc as Document
dim oSheet as sheet
dim oTG as TransientGeometry
dim oView1 as DrawingView
[code]....
but when i run the code its asks me whether you want to generate the drawings, but when i say yes shows runtime argument error as show below
Error in rule: Rule0, in document: pin
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
when i ask for more info it shows the following error
System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Inventor.Documents.Add(DocumentTypeEnum DocumentType, String TemplateFileName, Boolean CreateVisible)
at LmiRuleScript.Main()
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
View 5 Replies
View Related
Aug 13, 2013
I'm trying to setup an assembly based on a complex 3D sketch. In simplest terms, if I have a sketch for the perimeter of a house, I'd like to add instances of a 2x4.ipt at specified locations automatically. That's not necessarily every 16", but rather wherever I put a specific geometry. I'm imagining two work axis or sketch lines, one along the perimeter to determine the location of the 2x4 and one perpendicular to determine the direction the 2x4 points.
In actuality my sketch won't be a rectangle, but rather a complex 3D spline, that's why I'm hoping to get some sort of automated process. And the current design involves somewhere on the order of 1500-1800 2x4s. Making the sketches and geometry will be nightmarish enough, I'd prefer to be able to breeze through the assembly portion.
View 3 Replies
View Related
Feb 23, 2013
how to make a radius dimension a diameter dimension? I have Inventor Profession 2013.
View 1 Replies
View Related
Jun 27, 2011
Is there a way to override a dimension and have it shown as a GD&T Basic dimension. I can override a dimension with the text option but not with a box around the letter. It sounds strange to do this but the letter represents a dimension in a chart format that are Basic dimensions.
View 9 Replies
View Related
Jan 27, 2012
Is there a way to make the linear dimension a diameter dimension?
View 9 Replies
View Related
Mar 7, 2012
pdf drawings are king at our company. When we creat a product, pdfs (and sometimes stp files) are generated and placed in folders organized numerically by part number.
Our challenge is that finding all the current pdfs for an assembly is not automated. Thus, to get all the current drawing pdfs, someone has to open up the top level pdf, read all the part numbers, go get/print the pdfs of the parts, subassemblies, subassembly parts, etc. This is time consuming and error prone and getting worse as the number of parts we always increasing.
I'd like to automate the process. I'm thinking about a program/script that: Extract parts list from pdf of Inventor assembly drawingCopy pdf of individual parts/subassemblies to a directoryMerge all pdf for that assembly into single pdf.
INV 2013
View 4 Replies
View Related
Jul 16, 2012
a powerpoint presentation, for a software package that I have designed, and written, for use with AutoDesk Inventor.Could I ask you if you could spare just 2 minutes of your time to look at the presentation, so that I can gauge your impressions of the software, and the power point presentation itself.
The powerpoint presentation will give you a brief description of the software's capabilities
View 3 Replies
View Related
Aug 19, 2013
how can I close an iLogic Form from either an iLogic Rule, or a VBA Rule (VBA is the Preferred method)?
View 5 Replies
View Related
Nov 5, 2013
I'm trying to use iLogic Design Copy to copy an assembly and all its associated parts to another directory. The assembly contains content center parts. Inventor warns me that the destination file of one of the CC parts (and 18 others) will be overwritten. When I go ahead and copy anyway, the copying process stops at that specific CC part. The Design Copy Progress dialog box states there is an error copying that CC part. When I close the Design Copy Progress dialog box, Inventor crashes.
The error copying the CC part: I'm allowed to use content center parts in iLogic Design Copied stuff, right? I searched some related topics and I'm under the impression that Inventor keeps the CC parts in its own directory and shouldn't be trying to overwrite them.
View 3 Replies
View Related
Dec 13, 2011
We are now working in civil 3D 2011, and have started using the .txt files now instead of the fieldbooks of the past. I have created a Description key set, along with a figure prefix database and a linework code set. everything works fine as long as the field crews use EP1, EP,2 EP3, ETC.. But we would really like to utilize the Begin and End function of this. I have unchecked the box that says Automatic begin on figure prefix match, but still no luck. I have also checked the linework code set and it all looks good <Space> delimiter etc..
View 9 Replies
View Related
Dec 11, 2013
Im wondering if there is a fast and atuomated way to insert a title block onto the layout tab throughout an existing project?
View 1 Replies
View Related
Jul 2, 2013
I have a large amount of "ellipses" in a Civil 3D 2013 drawing that were created as "circles" in Cyclone 8.03 (the laser scanning software from Leica-Geosystems). I need to work with circles so I can label the diameter of each in my drawing. Is there a way to automatically convert these ellipses, that have the same exact minor and major axis, into circles? Other wise I will have to reapeat the work in Civil 3D using the same point cloud!
View 8 Replies
View Related
Jul 4, 2013
How do I add a dimension so that it shows both metric and imperial, with metric first, but has the appropriate units after each. Ie. 1.0mm (0.039 in.)?
View 2 Replies
View Related
Nov 13, 2013
I am doing a tie rod the issue I have is when the length is between 2.001 and 2.250 we would drill thru all but only tap the ends .750 deep. If the part is 2.000 would would drill and tap thru in one step and not have to rotate the part in the lathe.
How do I get ilogic to understand if my number is between this 2.001 and 2.250 to lengthen the drill length parameter?Or add a mid plane cut? ( trying now code below reflects this try)
Not sure what way I want yet but I just can't seem to find a snippet or code to do this. I tried to add a list in the parameters for it to read but seems to do nothing.
If LENGTH <= "2" ThenFeature.IsActive("Thru_All") = TrueFeature.IsActive("Hole_A") = FalseFeature.IsActive("Hole_B") = FalseiProperties.Value("Project", "Description") = "RETURN ROLLER SHAFT, " & iProperties.Value("Custom", "DIAM") & " Ø S/S, TAP THRU 3/8-16, " & iProperties.Value("Custom", "LENGTH") & " LONG"ElseFeature.IsActive("Thru_All") = FalseFeature.IsActive("Hole_A") = TrueFeature.IsActive("Hole_B") = TrueiProperties.Value("Project", "Description") = "RETURN ROLLER SHAFT, " & iProperties.Value("Custom", "DIAM") & " Ø S/S, TAP BOTH ENDS 3/8-16, " & iProperties.Value("Custom", "LENGTH") & " LONG"End IfIf LENGTH = (My_List) ThenFeature.IsActive("Mid_Cut") = TrueElse Feature.IsActive("Mid_Cut") = FalseEnd If
View 2 Replies
View Related
Jun 2, 2011
I'm trying to get the dimension text that I pull out to the side closer to the actual dimension marks. The 2 1/2" and 2" shown have a minimum distance they can get toward their dimensions. I would like it to be about half of what it is, but so far I haven't been able to find the property that changes that.
View 3 Replies
View Related
Feb 10, 2012
Is it possible to override a dimension with some sort of formula or function that relates to the length of the dimension?
A simple linear scaling might be possible by inventing a new unit with the appropriate conversion ratio, but that wouldn't work. What I need for the dimension to display a length 400 less than the actual length.
View 9 Replies
View Related
Dec 4, 2013
How can I avoid getting zeros when creating dimension line with quick dimension command. the Zeros indicates the line itself. how it can be avoided?
View 5 Replies
View Related