AutoCAD Inventor :: 2014 - Change To Integer Compile Passes But Fail On Executing
Jun 30, 2013
SurfaceBody.GetExistingFacets( ToleranceIndex As Double, VertexCount As Long, FacetCount As Long, VertexCoordinates() As Double, NormalVectors() As Double, VertexIndices() As Long )
This works fine in VBA (Inventor 2014). But when I start using the same in VB.NET (VS 2012) all declaration as long shows as integer and fails on compiling. If I change to integer compile passes but fail on executing in Inventor 2014.
From the picture, there are many files/part but those parts are in seprated folder. Now i want to compile all these files into 1 particular folder.
currently i'm browsing through each part's properties to find the directory of the files. then copy paste each files into the particular folder i want.
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.
I have a macro that automatically creates a Detailed view on a sheet. It works on 2 input's:
- mouse click 1 (set's the target to be detailed)
- mouse click 2 (set's the location where the balloon should be)
The code works fine. But sometimes the user will start another command, or restart the same command, while it is still running. This off course gives all kinds of problems.
Is there a possibility in VBA to prevent the user to start another command while this command is running?Or is this problem a part of the clicking itself?
Here is my (it uses a Class Module called: clsGetPoint, see code below) Sub AutoDetailedView() On Error GoTo ErrorManagment '(error handling 2013/02/18) 'step 0 Create a transaction. -> for 1 undo command Dim oTransMgr As TransactionManager Set oTransMgr = ThisApplication.TransactionManager Dim oTrans As Transaction Set oTrans = oTransMgr.StartTransaction(ThisApplication.ActiveDocument, "AutoDetailedView") 'step 1 Select a drawingView 'Set a reference to the drawing document. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet. [code].....
I want to be able to have All Work Planes set as 'Invisible' but create a Message.box or Icon that allows me to change the Visibility of any individual workplane(s) physically selected in the browser.
A rule written by another member should do the trick if the following line could be altered so as not to read 'For Each' oWorkPlane but instead for 'Each Selected' oWorkplane.
'For Each oWorkPlane In docFile.ComponentDefinition.WorkPlanes'
'get user input oInput = InputRadioBox("Select workplane visibility:", _ "Turn ON workplanes for all components", "Turn OFF workplanes for all components", "False", "iLogic") 'Define the open document (top level assembly) Dim openDoc As Document openDoc = ThisDoc.Document
I have a template that I have created, in it I have a rule that changes the stock number and description based on which sheet metal rule is selected. The weird thing is it works correctly if the first sketch is a rectangle. If you sketch a circular shape and make that the face it will not work. It blanks out the values for the stock number and description.
In the attached sample file if you edit the sketch in the first surface feature and change the dimension of 600 to 700, both the patch and loft features fail. It seems to be the curved edge that is the problem in both cases.
I cant see anything wrong with either way of modelling this so assume its a bug.This causes other problems in my real model with parts that reference these types of surfaces falling apart further down stream and is wasting heaps of $$$.
I want to create a hole approx 586x586mm. But every time i try inventor respond with "The attempted operation did not produce a meaningful result" If i do a slightly smaller hole it will work, but that is not what i want...
Now Inventor allows users to create relationships with Joint or Constrain/Assemble commands. Both of these methods let the creation of Positional Representation, but when animating them in Inventor Studio, only animations created with Pos Reps from constraints work. Animated Pos Reps created with joints don't work at all.
Is this a bug? Will this problem be fixed soon (with SP, Updates or any Hotfix), or would it be fixed in the next release?
I use logic NP obfuscator and am trying to compile a dll plugin I am wanting to send on the app portathon.
Obviously there is some obfuscating in the acad support files, that I guess mine is bucking with. This is the error message I am getting. I tried to ignore the acad stuff.
Crypto Obfuscator For .Net v2013 R2 Standard (Licensed To: James Boone,Powersoft Engineering), Build:130904 Running from UI - C:Program Files (x86)LogicNP SoftwareCrypto Obfuscator For .Net 2013 R2CryptoObfuscator.exe Obfuscator Project File= A:\_EPS folderPanSchPro acadinEPSElec.obproj Output Path= A:\_EPS folderPanSchPro acadinObfuscator
I want to know if there is a command that passes all entities (lines, text, etc.) to a single layer, but that the institution holds the color and line style assigned according to the original layer that contained it.
I'm trying to import a .SAT file into ACAD 2000. I'm using the ACISIN command. Usually I don't have any problems with this. When I find a .SAT file that is too recent, I use HOOPS 3D Part Viewer v13.15 for ACIS to save down the file.
Lately I've been trying to import some Colson caster CAD files from 3dcontent central and I have a problem when I get to the ACISIN portion of my procedure. I get this message
"Modeling Operation Error: Missing integer in restore file. Unable to read the ACIS file"
The file looks fine in HOOPS. I'm not sure why it's not coming into ACAD. I used to not have this problem but I'm having it a lot lately.
I have a county wide aerial image in jp2 format, connected through Data Connect and every time I pan or zoom it says "executing query". It is very slow getting around in the drawing (tracing over tree line, roads, etc.). I have a Windows 7 64-bit machine with 6 GB of RAM. Is there a setting I can turn off to make zooming, panning, changing layouts, etc. faster?
Just reviewing the discussion board, I find that there is an indication that this error has been around since longer than AutoCad 2000.
We are currently using AutoCad 2010 in combination with Cadworx 2010 and still encounter the "Missing Integer in Restore File" error randomly. Once this error is encountered, the drawing file is rendered virtually useless.
We had a lab we have a CAD class in. One student suddenly has an issue where AutoCad LT 2014 freezes when he opens up his project and changes the scale. He has tried several computers and the same issue occurs. It seems like it may be something with the project file. Is there any way to retore the file where this does not happen and so he can continue working on his project?
Noticed a change in the trim command between 2013 & 2014?
In 2013 (with out selecting trim all) the trim line didn't have to intersect the line you wanted to trim. We just upgraded to 2014 and I noticed that if I want to trim a line that the lines have to intersect. A line that doesn't intersect with the selected trim line will not trim.
I am occasionally developing with ObjectARX 2013. The problem: A command being executed from a document needs to focus on another document. I am doing that as:
After this line, the focus is taken by the other document. But the command execution just stops without producing any visible error or catchable exception. Apparently, the document focus cannot be changed during execution of a command.
A solution: What worked in the end was displaying a .NET form inside the command, like:
Then, performing the very same set of actions on a button click works flawlessly.
The question is: can using the form as a mediator be avoided? It is redundant there. I tried hooking to CommandEnded, executing the code as a separate command via Application.DocumentManager.MdiActiveDocument.SendStringToExecute, and also executing the code in a separate delayed thread. So far, only triggering the code via the form worked.
when i work on geometry which is not in orthographic orientation i always prefer to create orthographic view of this, that's what i do :
Command : ucs Command : z Command : (selecting representative angled 2 points) Command : plan Command : c
than the whole zoom is lost , and i need to find again the portion , and save a view. i want to automate this process but before i automate it i want to know if there is a way to avoid zoom lost after executing the (plan) command?
I would like to eliminate a mouse click in my program. I use getstring to allow the user to either enter in an integer or a distance used for labeling in a drawing, but I could eliminate the need for the user to then click an option that completes the label if I only knew how to determine if the entry is an integer (such as 5 or 15) or a distance (such as 24" or 36").
heres the problem we had created a slope style in 2012 15% - 25% and 25% - 100%. done this many times with no problems. so we upgrade and open the file in 2014 now there is a large white area that c3d is filling in.