AutoCAD Inventor :: Renaming Extrusion Feature - Code Crashes With Exception

Jul 24, 2013

The following code crashes with an exception at the point where I try to rename the extrusion feature:

CComPtr<ExtrudeDefinition> pExtrudeDef;
hRes = pListOfExtrusions->CreateExtrudeDefinition(pProfile,kCutOperation,&pExtrudeDef); pExtrudeDef->SetDistanceExtent(_variant_t(kHeight),kSymmetricExtentDirection);

[Code] ......

Is it possible to rename an extrusion feature. If so what is the method to do it?

View 2 Replies


ADVERTISEMENT

AutoCAD Inventor :: Modify Depth Of Extrusion Feature?

Sep 6, 2012

I'm trying to modify the depth of extrusion feature "Extrusion1".

As you can see, it doesn't let me.  It only allows the extrusion setting "new solid".  

View 9 Replies View Related

AutoCAD Inventor :: Invalid Cast Exception Error When Running VB Code

May 15, 2012

Using VB2010 Express to practice writing code to run things in Inventor 2012.  I am an extreme beginner at this, and I am trying out a simple program that opens up Inventor, and when you click a button, it will open up the filename listed in the subroutine.  I have attached a .jpg of my code.  The program will open Inventor, and open the file, but as soon as the file is finished loading and displays on the screen, it throws the error you see in the .jpg.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Renaming Xref Using Code

Jun 18, 2013

This lsp was passed on to me from a colleague but he doesn't know where he got it. It does a useful procedure of placing each xref, residing in the drawing, to a unique layer. The layer name is derived from the xref name. I would like to edit this to take only part of the xref name. This system I work with requires all files to have the job number as a prefix eg LE1399901_Contours.dwg, so the xref name would be LE1299901_Contours by default. I want to remove the first 10 characters to be left with "X_Xref-Contours" layer name using this code.

(defun dxf (i a) (cdr (assoc i a)))
(defun c:lxr ( / ss cnt xrs en ed bn xp xbn )
(setq ss (ssget "x" '((0 . "INSERT"))))
(setq cnt 0)
[code]........   

View 5 Replies View Related

Revit :: Renaming Existing Parameters - Assembly Code?

Dec 22, 2011

Is there a way to rename the Identity Data Parameter- Assembly Code?

View 3 Replies View Related

AutoCAD LT :: 2012 Crashes When Renaming Files And Folders

Dec 23, 2011

Every time we have the file dialog boxes open and try renaming or any other explore action beyond changing folder location and hitting the save button AutoCAD LT will hang and crash.  We have tried starting the file operation and then just canceling and it does the same exact thing.  What happens most of the time is the user will be working on a file and need to save it.  They click save as and will go into the folder and right click and rename an existing file to a backup name and then hit save.  It proceeds to crash instantly and the document doesn't get saved.  It doesn't seem to matter the name of the file or folders or if it is a rename or delete operation.  It seems to be related to bring up the explorer options within AutoCad honestly.  All of our computers do the same thing. 

View 9 Replies View Related

Revit :: Crashes Renaming A Material?

Mar 28, 2013

When I go into the materials tab to duplicate and rename a material, Revit crashes. I enable to duplicate the material fine and if I do not want to rename it, everything goes okay. As soon as I rename the material and click okay, Revit quits working and needs to close.
 
I'm using Revit 2013 and I have all of the current updates installed.
 
I created a short 3 minute video of what exactly happens.

[URL]

View 8 Replies View Related

AutoCAD Civil 3D :: TBC Feature Code Processing

Nov 13, 2013

We have recently started using a feature code library with our tremble survey gear and have been processing the linework and exporting the lines as a DWG and the points as a CSV and when iput them in the same DWG in Civil3D the point and Line Vertices are exactly on top of each other. Does any know how to fix this? I dont know if its to do with rounding, LSF, or projection to Cartesian?

View 1 Replies View Related

AutoCAD Civil 3D :: Survey Dual Feature Code

Oct 2, 2012

Is there a way we can support a duel feature code ?In the field the surveyor would enter into his file “ EWD[*TB[“ .This code indicates the  beginning of the “Edge of Woods” and “Top of Bank”  .

Each shot after that would be along the edge of woods and top of bank . “EWD*TB” -- This code indicates shots taken along  the “Edge of Woods” and “Top of Bank”

The surveyor would end this feature with    “ EWD]*TB]“.This code indicates the  ending of the “Edge of Woods” and “Top of Bank”  

View 3 Replies View Related

AutoCAD Civil 3D :: Corridor Code Set - Feature Line Selection

Nov 27, 2012

Is there a way to be able to choose a desired feature line when extracting from a corridor?  For example, when subgrade and finished grade are on top of each other, it seems subgrade is always coming as default for extraction.  I'm not getting the option to select the desired point code as usual for some reason.  The best way I found is by turning off the subgrade feature line from the corridor properties, which is a bit tedious. 

View 3 Replies View Related

AutoCAD Civil 3D :: Corridor Feature Lines Don't Update With Code Set Style

Nov 7, 2013

How do i get the feature lines in my corridor to change their style based on the code set style selected?Whats the point of defining featureline styles in the code set style if they don't change in the corridor? They only get used when you first create the corridor?

Is there something I am missing or is this the intended workflow?

View 9 Replies View Related

AutoCAD Civil 3D :: Code To Display Station Of Feature Line At Start Of Segment

Mar 13, 2012

I have a feature line, and a labels table created for it. The table has the following columns: Line or Curve #, Station, Segment Start X, Segment Start Y, Segment Start X, Bearing/Delta, Length, Radius, Grade Ahead.

what code I need for the table to display the station of the feature line at the start of the segment?

I also have an alignment with the same stationing over top of the feature line, but Im not sure how to code a reference text into the table either. I can create an end segment reference text for the plan view labels but even if I copy that code into the labels table it doesn't work.

View 4 Replies View Related

AutoCAD Map 3D :: WMS Connector - Choosing CS Code Crashes 2012

Oct 12, 2011

When I connect with Autocad Map to WMS server (Geoserver) and try to choose Server CS, Autocad crashes. This didn't happen until 2012, and in 2011 work just fine.

View 1 Replies View Related

AutoCAD Civil 3D :: 2012 Feature Line Crashes?

Apr 6, 2012

AutoCAD C3D 2012 has been crashing nonstop over the past 3 days on me whenever I try to "Create a Feature Line from Object".  I know that it is a localized problem as a co-worker has been in the same drawing and done grading work without any problems.  The error has occurred in multiple drawings. 

Product Version: F.107.0.0. AutoCAD Civil 3D 2012 SP1

View 3 Replies View Related

3ds Max :: Crashes When Drag Selected Code To The Toolbar

Dec 13, 2012

Max 2013 crashes when I select some code and drag it up to the toolbar. I thought that automatically wrapped the code in a macroscript, saved it to the user's homedrive, and made a button for it. In 2013 it just seems to crash the entire program before I even let go of the mouse button!

Copy this text into the script editor then select and drag it up to the toolbar.messageBox "Hello"

View 1 Replies View Related

AutoCAD Inventor :: Renaming Parts

Dec 2, 2011

is it possible to simply rename a part?

I quite often make up quick parts to try stuff out and call them random things but if I want to change the name it is not just a simple case of renaming the part as a few things need updating.

is there a simple quick way to rename a part in one hit without going through other stuff?

View 9 Replies View Related

Photoshop :: Error :: The Exception Unknown Software Exception (0xc000000d) Occurred

May 20, 2009

I have had numerous application errors which result in the PS CS4 shutting down unexpectedly. 1 such error message: "The exception unknown software exception (0xc000000d) occurred in the application 0x78138a8c". It happens repeatedly when I try and create Brushes, when I open normal jpg files, when I create new file. There seems to be no direct correlation between an action and a crash. (I have worked on CS2 with nothing like this ever happening.)

View 14 Replies View Related

AutoCAD Inventor :: Renaming Drawings Sheets

Sep 20, 2011

I am trying to find an automated way to rename multiple sheets when creating Inventor drawings.

I have an Inventor assembly, and I need to create a drawing for each component in this assembly. I have one Inventor Drawing with multiple sheets in it.  Each sheet is for each part in the assembly.

I would like to loop though each sheet and rename the sheet name to the Part number of the part. Is there a simple way to do this though i Logic? And how would I go about doing something like this?

View 9 Replies View Related

AutoCAD Inventor :: Error In Extrusion

Oct 4, 2013

What's wrong with extrusion 15?

I deleted many features since the file was large, and many features got warnings, but extrusion 15 was the only one with warning in the original file.

View 6 Replies View Related

AutoCAD Inventor :: Add Extrusion On Assembly

Aug 16, 2012

I wanted to add an extrusion to an asembly. I was able to highlight the required geometry and create the feature, but is not showing up. In the browser, there's a red "up arrow"  beside it. Why is it not showing?

View 3 Replies View Related

AutoCAD Inventor :: Extrusion Using ILogic

Aug 9, 2012

I have closed profile "Sketch1" placed on one of the parts in Assembly.

Suggest iLogic code to create cut Extruson (Extents=All) based on the "Sketch1"

View 6 Replies View Related

AutoCAD Inventor :: How To Get Extrusion To Update

Oct 27, 2012

First off if I update a sketch block in a derived part, how do I get the sketch blocks to update?  Do I have to delete derived item, and rederive it?

Also if I modify a sketch block that is used for a extrusion, how do I get the extrusion to update?  Do I have to delete extrusion and rextrude?

View 7 Replies View Related

AutoCAD Inventor :: How To Add Solids To Cut Extrusion

Apr 12, 2013

I have a multibodied part (roughly 700 parts) and I need to do a cut extrusion.  The problem is that when I'm cutting through a hundred or more solids I might miss one if it's close to the edge.  I though, no problem I'll just go back to the extrusion command and add those solids I missed.  Problem, the program only lets me select one solid and undoes all I had previously. 

2013 FDS

View 2 Replies View Related

AutoCAD Inventor :: Renaming Sheets In A Multi-sheet IDW

Oct 4, 2012

Is there any easy way to have sheet name automatically pull the "description" iProperty from the part that is on the sheet?  It can be very handy in a multi-sheet drawing for each sheet to have a descriptive name in the browser, but the only way to do this (that I know of) is to manually change it.

View 5 Replies View Related

AutoCAD Inventor :: Renaming Entire Project - With ILogic

Mar 15, 2013

URL....I need to copy one entire project and then rename them all, it has about 1500 parts/assys that I need to rename.

Instead of renaming all items of my project, one by one using Design Assistant, could I just make some kind of rule that renames all the parts/assy's in my project, and then update its PART NUMBER too ?

because my register code is something like this : TAG-0000-0000-00, and the only thing that's gonna change its the string TAG, nothing else. I could try to change only the first 6 that are the TAG, but this sequence of rename/open/update, how to make, and even if that's possible. Or maybe have any other specific tool to rename things this way instead of Design Assistant ?

View 1 Replies View Related

AutoCAD Inventor :: Design Assistant - Renaming Files

Nov 2, 2012

I am using Design Assitant to rename files, but have had no luck with other referenced files.I have followed the Procedures from AutoDesk WikiHelp.

1. Open Top Assembly.

2. In the top browser, I select the part and set Action -> Rename.

3. Rename File.

4. In the bottom browser, I select the file types for additional referenced files.

5. I select (highlight) all the files.

6. Click "SAVE"

When I go to open the files, to check if the changes have been made, obviously to rename works on the Top Assembly,BUT for other additional referenced files, it doesn't.

I am doing this in a Single User Project.Just wondering if there are other steps that need to be done to use Design Assistant properly. 

View 9 Replies View Related

AutoCAD Inventor :: Renaming Assemblies And Linked Parts?

Oct 14, 2011

where to find a tutorial that explains the usage of Design Assistant? Particularly the practice of renaming assemblies and linked parts?

View 4 Replies View Related

AutoCAD Inventor :: Move Extrusion Forward?

Aug 20, 2012

I'm trying to move a rectangular extrusion towards me on an object, however it will only go farther away from me, and to the right and left.

View 9 Replies View Related

AutoCAD Inventor :: Mirror Of Extrusion Cut Not Working?

May 17, 2013

I cut a curved profile using extrusion and mirrored it about the original plane. But It doesn't cut thoroughly ? there is still a surface of the rarer side of the part ?

the original extrude cut was "Through All".When  do the same cut gving a distance...it mirrors perfectly..

View 2 Replies View Related

AutoCAD Inventor :: Hiding Extrusion (cut) In Assembly

May 17, 2012

I am working on detailing an assembly that requires two parts to be bolted together and then have a hole bored through both parts.  I want to show the assembly without the bore and then with the bore. I do not want to have to create a derived part.  There should be a way of toggling this extrusion in the assembly view, but I have not yet found it.

View 4 Replies View Related

AutoCAD Inventor :: How To Know Which Parameter Belongs To The Extrusion

Jul 20, 2013

In sketches i can see the names of the dimensions, the parameters, but if i have a few extrusions, can i know which parameter governs the height of the extrusion only according to their content?

View 1 Replies View Related







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