AutoCAD Inventor :: ILogic Error Public Member On Type Not Found

Sep 25, 2013

I have this error in my iLogic code for inserting sketch symbols. "Public Member 'ActiveSheet' on type 'Drawing View' not found"

I have declared everything in the code. I dont understand what it cant find.

View 7 Replies


ADVERTISEMENT

AutoCAD Inventor :: Generate IPart Member Files In ILogic?

Aug 8, 2011

I am looking to generate ipart members for each ipart as I activate it?

View 2 Replies View Related

AutoCAD Inventor :: Frame Generator / When Changing Member Type Does Not Update All IProperties

Nov 25, 2009

During some discussion with other uses of Inventor I was ask if I knew about a problem relating to Changing a member size in Frame Generator and the iProperties maintain the old members properties.

The basic problem is as follows:-You start with a simple frame, create all of the members save and then added to a drawing. The members frame come from the content centre which have been copied into a Custom Library to enable addition parameters to be added along with addition iproperties being automated such as DESCRIPTION.

Once the frame and associated members have been created and then save, if a user wants to change the size of the member inventor has to create a new part file and then inserts into the frame generator frame. However, I have found that if you review the iProperties of the new file the DESCRIPTION is the same as the one that was replace, however it was strange to see that the STOCKNUMBER and PART NUMBER was updated correctly. It seems to be only a problem with the DESCRIPTION property.

View 9 Replies View Related

AutoCAD Inventor :: ILogic Component Not Found

Aug 12, 2013

I'm trying to play around with iLogic for creating dynamically dimensioned subassemblies. I've created my dimensioning rules that link to the parts I wish to change dimensions on.
 
Parameter("Bridge Spine:1", "BridgeLength")=Length

And I've tested this in the SubAssembly I've created and all appears fine. However when I go to insert the sub assembly into the main assembly I get the following error:

Parameter:  The component named "Bridge Spine:1" was not found.

I've noticed that the new sub assembly has created new parts with the extension -01 on the end of each part (As expected) It appears that this link is being lost in the rule for the new sub assembly. i.e the rule is looking for Bridge Spine:1 instead of Bridge Spine-01:1

View 3 Replies View Related

AutoCAD Inventor :: Change Member IPart Member In Drawing View?

Jan 8, 2014

In Inventor 2013 it was easily to switch in a drawing view between different iPart members. Through Edit view => Tab Model State and then it was possible to switch between different iPart members. So it was easy to make a copy in the Vault from only the dwg (from a iPart member) and then change the iPart member. Now in Inventor 2014 it is not possible anymore.

View 1 Replies View Related

AutoCAD Inventor :: Error Changing Material Of Frame Member

Oct 10, 2012

I'm with a problem here, that when i try to change a material from a frame member, i got the error below:

[WARNING] Frame Generator: Errors occurred while attempting to change frame member(s).
[WARNING] Problems occurred during changing Frame Member(s)
[ERROR] A change could not be completed. The reason for the failure is unknown. Please retry.

The structure that i'm trying to change, was created in IV 2012 SP1, and now I'm editing it in IV 2013.

All the pieces of this project were converted to the new version, and the only big difference from 2012 in this case i think that is the materials library, that I created a new one and set on project as default.

The strange, is that if I enter frame by frame and go to iProperties>Physicals, there i can change the material normally (but with a big wate of time ofc).

View 3 Replies View Related

AutoCAD Inventor :: Error / There Are External Dependencies Found In The Document

Mar 11, 2013

I´m having som problems to publish a part in to the Content Center. It´s the first time I´m doing this.

The part is made with parameters and is a little bit more complex than a bolt.

The problem is that I got this message: "There are external dependencies found in the document. Please remove the dependencies then proceed with this comand."

View 4 Replies View Related

AutoCAD Inventor :: Error 1308 Source File Not Found

Oct 26, 2013

Error 1308 Source File not found inventor professional 2013

View 1 Replies View Related

AutoCAD Inventor :: Non-tangent Curves Found In Path Error

Dec 14, 2011

I have created a bin/vat/tub using sheet metal.  I started with a contour flange. I then copied the sketch and pasted into a new sketch off the flange for a contour roll feature. Then a flange, roll, flange, roll, flange and roll.  My trouble starts at the last flange.  I'm trying to construct the flange exactly as I have created the features before. I set the distance, select the profile (it shows the flange on the screen), hit apply and that's when my message shows up. "Non-tangent curves found in path: flat pattern cannot be correctly created. Edit sketch and add constraints to the curves. The sketch is fully constrained according to the lower right hand corner and the auto constrain button.

View 2 Replies View Related

AutoCAD Inventor :: Error / This File Is Not Found On Any Server In Replicated Environment

Aug 27, 2009

When I try to place this ipart, I get an error saying "The server returned the following information: This file is not found on any server in the replicated environment". This child part is already in vault. I tried to delete the child from Vault and I thought that I would just re-generate it. But, when I try to delete the file from Vault, I am given a restriction, but no explanation.

What can I do to get this back in sync with vault?

This is using Vault 2010.

View 1 Replies View Related

AutoCAD Inventor :: ILogic - Get View Type

Dec 17, 2013

Is there a way to get the "view type" of a view using iLogic? for example;

-detail view
-section view
-exploded view

Or any way to differentiate between the types of views? I'm trying to write a rule that renames all detail and section views in a drawing in Alphabetical order. A,B,C,D..

View 5 Replies View Related

AutoCAD Inventor :: Sheet Metal Bend Error - Matching Faces Not Found

Nov 9, 2013

I created a solid, shelled it, and then converted to sheet metal. I am now trying to indentify the bends but I am getting the error: Bend 1: Could not build this Bend; No matching faces found.

View 5 Replies View Related

AutoCAD Inventor :: Change Hole Type With ILogic

May 21, 2013

I would like to know if it is possible to use iLogic to change the Hole Type from Through to Tapped as conditions dictate.  Is this even possible?  I already have a backup plan but wanted to check out all possibilites before I proceed.  Using Inventor 2012 SP2.

View 1 Replies View Related

AutoCAD Inventor :: ILogic 2013 - Create Yes / No Property Type

Jun 21, 2012

Dim propertyName1 As String = "Mortise"Dim propertyName2 As String = "Cut Length"customPropertySet = ThisDoc.Document.PropertySets.Item("Inventor User Defined Properties")Try prop = customPropertySet.Item(propertyName1) prop = customPropertySet.Item(propertyName2)Catch ' Assume error means not found customPropertySet.Add("", propertyName1) customPropertySet.Add("", propertyName2)End Try'output the custom iproperties and update the fileRuleParametersOutput()InventorVb.DocumentUpdate()'set iProperties 'iProperties.Value("Custom", "Mortise") = ""'update fileiLogicVb.UpdateWhenDone = True
 
This code creates custom iProperties if the iProperty isn't found. I'd like to add another iProperty called "Resaw" with a Yes/No property type. Is there a way of doing this the way I have things started here?

View 3 Replies View Related

AutoCAD Inventor :: ILogic Changes Custom IProperties Type From Number To Text

Nov 2, 2011

I am using ilogic in Inventor 2011 to update my iproperties when I save a .dwg file. I am having problems with some custom iProperties I have created that are of the type 'number' and are initially set to 0 (zero). After the iLogic rule has run and the user has entered a numeric value the type of the custom iproperty has changed to 'text'.

The ilogic code I am using is:

 If iProperties.Value("Custom", "Nominal ID") = 0 Then 
    iProperties.Value("Custom", "Nominal ID") = InputBox("Enter The Nominal ID (Enter 0 if no value is available)", "Nominal ID", 0)
    Custom_iProp_Nom_ID = iProperties.Value("Custom", "Nominal ID")
 End If

I am using Vault 2011 and would like to map this property to a numeric property so I can perform <= and >= searches.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Design Copy - Error Copying A File / Inventor Crashes

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

AutoCAD Inventor :: ILogic Activation Error

Apr 28, 2010

My computer would crash and reboot. I downloaded and installed the partner certified driver for my video card. (nvidia quadro fx 3450/4000 sdi) This solved the crashing problem, but now every time I open inventor i receive an ilogic activation error. I have reset my ribbon and that did not work.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Error (the Unit Name Is Not Valid)

Aug 1, 2013

I'm getting a strange error with my iLogic code running parameters in my assembly.  When I have one "if....then..." my rule runs fine. Even two statements work.  But for some reason when I get to a certain number of statement I get an error: I've attached some sample code and snapshots of my error screens.
 
If FLANGE_STYLE_BOTTOM = "2in 150 BFV" ThenParameter("RD FLANGE:1", "OD")="6"Parameter("RD FLANGE:1", "BC")="4.75"Parameter("RD FLANGE:1", "HOLE_SIZE")=".75"Parameter("RD FLANGE:1", "NUB_HOLE")="4"Else If FLANGE_STYLE_BOTTOM="3in 150 BFV" ThenParameter("RD FLANGE:1", "OD")="7.5"Parameter("RD FLANGE:1", "BC")="6"Parameter("RD FLANGE:1", "HOLE_SIZE")=".75"Parameter("RD FLANGE:1", "NUB_HOLE")="4"Else If FLANGE_STYLE_BOTTOM="4in 150 BFV" ThenParameter("RD FLANGE:1", "OD")="9"Parameter("RD FLANGE:1", "BC")="7.5"Parameter("RD FLANGE:1", "HOLE_SIZE")=".75"Parameter("RD FLANGE:1", "NUB_HOLE")="8"Else If FLANGE_STYLE_BOTTOM="5in 150 BFV" ThenParameter("RD FLANGE:1", "OD")="10"Parameter("RD FLANGE:1", "BC")="8.5"Parameter("RD FLANGE:1", "HOLE_SIZE")=".875"Parameter("RD FLANGE:1",

[code]...

View 4 Replies View Related

AutoCAD Inventor :: Getting Error When Creating ILogic Rule

Oct 14, 2013

When i trying to create a new ilogic rule i get window with this error:
 
Spoiler (Highlight to read)System.InvalidCastException: Невозможно выполнить приведение [A]iLogic.CodeSnippets к [B]iLogic.CodeSnippets. Источником типа A является "Autodesk.iLogic, Version=17.0.13800.0, Culture=neutral, PublicKeyToken=null" в контексте "Default" в расположении "C:PROGRA~1AutodeskINVENT~1BinAutodesk.iLogic.dll". Источником типа B является "Autodesk.iLogic, Version=17.0.13800.0, Culture=neutral, PublicKeyToken=null" в контексте "LoadFrom" в расположении
[code]..........

View 4 Replies View Related

AutoCAD Inventor :: How To Integrate ILogic Error Message

Mar 4, 2013

Just wondering whether there is a way to  integrate iLogic error message into VB.NET code.
    
   For example, if use following sentence to read the data from spread sheet.

    LengthFloat=GoExcel.CellValue("tank_data.xls", "Gauges",     "llg_arm_lgth")
   
if there is no such cell of "llg_arm_lgth", the error message appears as in attached file.                                
    
Right now I want to use "try...catch... end try" in the iLogic code. I can duplicate the first line of the warning message using VB.NET code, but I can not  reach the second line. Does the iLogic expose this error message through some function? or which VB.NET code does this job?

View 2 Replies View Related

AutoCAD Inventor :: ILogic Edit Rule Error?

Oct 4, 2012

I got this error popping up every time I open an iLogic edit rule and all my snippets are gone. Now it has started doing it on a different computer in our office. The error dialog box is in the image below. T

View 4 Replies View Related

AutoCAD Inventor :: External ILogic Rule Error

Oct 3, 2011

why this will not run as an external rule? It runs fine as an internal one.The error I get is object referance not set to an instance of an object?

 'Updates rule when done
iLogicVb.UpdateWhenDone=True
'Creates input list dialog box & allows the user to choose the state
Product_Code=InputListBox("Enter Product Code", MultiValue.List("Product_Code"), Product_Code, Title :="Product Code", ListName :="Available Codes")
'Writes values to iProperty
iProperties.Value("Project", "Cost Center")=Product_Code

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Error Closing Active Documents

Jul 4, 2012

I am using iLOgic on Inv 2012 to try and close the active document using the following piece of code - 

InventorVb.Application.activedocument.Close (True)

This close the document but brings up the following Error msg...

Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Any better piece of code that shuts down the active document but doesn't return the error? (I only want to shut down one document, not the application)

View 3 Replies View Related

AutoCAD Inventor :: ILogic Code Giving Error When Executed

Jan 23, 2012

However, I have one iLogic routine that is giving me an error whenever I run it. Selecting continue allows it run as expected. Basically, it is to remind designers to set the material type to other than “Default”.

Here is the Materialsddd = 0' deleted parameter materialName = ThisDoc.Document.ComponentDefinition.Material.Name If materialName = "Default" Then MultiValue.List("MName") = iProperties.Materials MName = InputListBox("Select Material", MultiValue.List("MName"), Mname, Title := "Select Type", ListName := "MM List") iProperties.Material = Mname iLogicVb.UpdateWhenDone = True The Parameter MName does exist as a mulitlist parameter.

View 9 Replies View Related

AutoCAD Inventor :: ILogic - How To Make Error Message Using Numeric Parameter

Feb 18, 2013

I have a text parameter "ARM_TYPE" that kicks out a numaric parameter "ARM_ANGLE" through an ilogic rule. My problem is i need to have the rule kickout an error when (ARM_TYPE= "none"). I can do this by changing the "ARM_ANGLE" parameter from a Numaric to Text format (see below). The problem here is that "ARM_ANGLE" is used in several more ilogic rule calculations generating other parameter values which also need to kick out an "error"
 
If Parameter("ARM_TYPE") = "A995" ThenParameter("ARM_ANGLE") = -12ElseIf Parameter("ARM_TYPE") = "A1023" ThenParameter("ARM_ANGLE") = -3.7ElseIf Parameter("ARM_TYPE") = "A1081" ThenParameter("ARM_ANGLE") = -44.1ElseIf Parameter("ARM_TYPE") = "NONE" ThenParameter("ARM_ANGLE") = "####"End If

View 2 Replies View Related

AutoCAD Inventor :: 2012 Save Copy As DWG ILogic Code Error

Jan 9, 2012

Using Inventor 2012 and using ilogic rule or VB codes to auto Save Copy AS DWG?

My old code error out when debugging. The exact error is on this code line:

DWGAddIn.SaveCopyAs(oDocument, oContext, oOptions, oDataMedium)

Autodesk has agreed that this code does not work on Inventor 2012 and that the development is working on it. This code is part of the Snippets built in Inventor iLogic Rule Browser.

View 4 Replies View Related

AutoCAD Inventor :: ILogic Error When Saving Part Files After First Few Times

May 1, 2013

The goal of this project is to take a base part file, save new copies as needed, then modify the copies. They're rings for storage tanks that share the same tank diameter but differ in height and thickness. I have a SaveAsCopy rule in my template ring part that I run externally from my main assembly after passing down the new file names to the part rule. Since I'm testing a lot, I'm always deleting the parts from the assembly, then clearing out the new copies from my folder and running the rule again. Eventually after 1-5 times inventor starts giving me an error.
 
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
The More Info Tab:

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.Document.SaveAs(String FileName, Boolean SaveCopyAs) at LmiRuleScript.Main() at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem) at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

The two other posts on here that deal with that error say it involves enumerating an array that is being changed and looking for an entry that is gone. I have a feeling it has to do with a left over variable (but this is all in iLogic rules so they get cleared at the end of the rule?), temporary files or remnant file references. It works again if I close the assembly and open it back up. Inventor 2013 SP 1.1

View 9 Replies View Related

AutoCAD Inventor :: VB Express Addin Error / Cannot Register Type Library

May 3, 2013

Error 2 Cannot register type library "C:UsersaaronAppDataRoamingAutodeskApplicationPluginsSheetMetalSheetMetal.tlb". Error accessing the OLE registry. (Exception from HRESULT: 0x8002801C (TYPE_E_REGISTRYACCESS)) SheetMetal

i see this error when I use VB express. I use window 7 and inventor 2014 64 bit now.

Autodesk Inventor Professional 2014
Autodesk Product Design Suite Standard 2013
Microsoft Office 2007 & 2013
Windows 7 64bit
Visual Studio Express 2010

View 4 Replies View Related

AutoCAD Inventor :: ILogic Error (changing Sheet Border And Title Blocks)

Jun 18, 2012

I'm having an error with Ilogic parameters.I just wanna change the border and the title blocks with Ilogic. This should be simple. Isn't this?

View 2 Replies View Related

AutoCAD Architecture :: Method Not Found Error

Aug 10, 2012

User received this error after trying to open a 2nd drawing after receiving a fatal error unhandled excpection e0434352h 7c812afbh. 

New error messag is: Method not found: "Int64 Autodesk.AutoCAD.DatabaseServices.ObjectId.get_OldId()'

View 2 Replies View Related

AutoCAD VB :: Element Not Found Error In 2012

Jun 27, 2011

I have an error that started appearing in my VBA programs since we upgraded to AutoCAD 2012.  This problem never occured in our previous releases.  The program is supposed to loop through all entities in paperspace and check for entities that are a acBlockReference object.

Below is a simplified version of my program.  I get an Element Not Found error on the line noted.  Again, this has never happened in any of our previous versions of AutoCAD.  Just started with 2012.

Sub Test
Dim blkref As AcadBlockReference
Dim entry As Variant
For Each entry In ThisDrawing.PaperSpace
If entry.EntityType = acBlockReference Then '  <-This is where the Element Not Found error occurs
msgbox entry.name
endif
next
end sub

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved