AutoCAD Civil 3D :: PGP String / Alias Errors - Bad Argument Type

Oct 29, 2012

I have been working in Civil 3D 2013 for about two weeks and everything was going smooth until I got a fatal error message while trying to rotate a basic rectangle. When I reloaded AutoCAD Civil 3D my command line displayed the following error message:  "AutoCAD menu utilities loaded.; error: bad argument type: input-streamp: nil”. My drawing loaded normally but when I tried to draw a line using L+Enter I got a note saying “Command: L Unknown command "L".  Press F1 for help.” Now none of my aliases work and when I go to Express -> Tools -> Command Alias Editor from the menu bar, I get the windows that are on the attatched screen shot. The PGP files wont work and importing aliases gives me the top right box on the attatched image. I have tried adding a Support File Search Path from the options menu and that too has failed.

View 2 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Bad Argument Type / VLA-object Collection

Aug 6, 2013

I discovered yesterday my burst lisp routine isn't working. It gives the following error message:

bad argument type: VLA-object collection: #<VLA-OBJECT 0971e1d4>

The routine does not appear to have changed. But here is the
 
(Defun C:BURST (/ item bitset bump att-text lastent burst-one burst BCNT BLAYER BCOLOR ELAST BLTYPE ETYPE PSFLAG ENAME ) ;----------------------------------------------------- ; Item from association list ;----------------------------------------------------- (Defun ITEM (N E) (CDR (Assoc N E))) ;----------------------------------------------------- ; Error Handler ;----------------------------------------------------- (acet-error-init (list (list "cmdecho" 0 "highlight" 1 ) T ;flag. True means use undo for error clean up. );list );acet-error-init ;----------------------------------------------------- ; BIT SET ;----------------------------------------------------- (Defun BITSET (A B) (= (Boole 1 A B) B)) ;----------------------------------------------------- ; BUMP ;----------------------------------------------------- (Setq bcnt 0) (Defun bump (prmpt) (Princ (Nth bcnt '("
-" "
\" "

[code]....

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Error / Bad Argument Type - Code Still Working

Jul 23, 2013

My code returns the error, but it still works.

    (vl-load-com)
    (setvar "cmdecho" 0)
    (vlax-for ucs (vla-get-UserCoordinateSystems (vla-get-Activedocument (vlax-get-acad-object)))
    (setq UCSList (cons (vla-get-Name ucs) UCSList)))
    (setq FileName (vl-Filename-Base (getvar "Dwgname")))
    (setq NewUCSList (vl-remove-if '(lambda (x) (vl-string-search FileName x)) UCSList))
    (setq Listlength (length NewUCSList))

[code]....

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Table Style - Error Message / Bad Argument Type

Mar 22, 2012

By running this routine it returns the following error message:

ERROR: bad argument type: VLA-OBJECT 7

(defun _make_tblstyle  (stlname / adoc acmcol tblstyle txh)
(setq   adoc (vla-get-activedocument
(vlax-get-acad-object))
)
(setq   acmcol (vla-getinterfaceobject

[Code] .......

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Open File To Write On External Drive - Bad Argument Type

Jun 5, 2012

I'm trying to open a file to write to on my external drive, I get this message "bad argument type: stringp nil".

View 8 Replies View Related

Revit :: Change Dimension String Type

Sep 19, 2012

Can we change the dimension string type continuous to other line type without Override Graphics in View>By Elements option in Revit?

View 3 Replies View Related

AutoCAD Civil 3D :: Undefined Alias Referenced

Dec 19, 2012

I've been getting this Undefined Alias Referenced error showing up every time I open one specific drawing.

Also, I'm not sure if this is related to the first part. In the same drawing I have several png files that I can't get rid of.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Changing String Of Text / Multitext / Dimensions To Another String

Nov 16, 2012

i failed to find one which would change string of a text to other for all types of objects. I mean it was usually either only multitext, or only text, dimensions or attributes.creating one which would change in abt 200 drawings:

-001

-002

-003

to:

-00001

-00002

-00003

in attributes, text, multittext, leaders, multileaders, dimensions..... at the same moment?

It is meant to be used in ScriptPro (by loading lisp in script).

If not possible, then can also open each file and run the lisp in each of them - still would save lot of time.

View 4 Replies View Related

AutoCAD Civil 3D :: Resource String Error Exporting DWFX

Sep 5, 2013

I get a multiple error message dialogue "Cannot find resource string number XXXX in AeccPublishSVC 100 when exporting a DWFX file of drainage in Civil3d R2014 (I have R2013 open as well).

View 4 Replies View Related

AutoCAD Inventor :: Remove Iproperty Mass Unit String From Mass Value In Text String?

Oct 3, 2011

I've been looking for a solution to remove the unit string ie Lbs, g, kg from the value given from a 'Mass' value in a text string.

As you may all know, creating text and having a 'physical property - mass' value...the unit string is there...

Lots of people on here have the problem...no-one has got a solution.

Until now...

Basically...open the part you need to get the mass property of in your text string.

Follow the instructions on this webpage...this is the first part...

[URL]

Basically, this creates a Mass property value in the parameters table that you can call on as a text parameter.

It's similar to the custom iproperty model - mass but NOT the same.

Once you have done this, you can go to the drawing of the part and create a text string in the drawing and call it up as shown in this procedure. BUT it still has the unit string.

Here's the best bit that you want to know...

To get RID of the unit string...open up the part again from the drawing...click on the parameter icon...find the user parameter...in the Nominal value column, right click on the value and you get a pop-up that gives you 3 options...

Custom Property Format, Make Multi Value & Delete Parameter.

Click on Custom Property Format.

The pop-up window comes up...showing you the property type...in my case...the 4 left columns read Text, g (grams), Format & Precision...

On the right hand side I have a Preview of the text...then 3 check boxes...Units string, Leading Zero's, Trailing Zero's.

Units string is checked.

Uncheck it.

Close it...Save your part...go back to the drawing and hey presto!...the text now shows the weight you require as a straight value...no units!

View 9 Replies View Related

AutoCAD Civil 3D :: Any Way To Open Drawings With Fatal Errors?

Jan 19, 2010

I can't open a drawing I saved yesterday afternoon. I always get a fatal error after reaching 98%. When i try doing recovery I get a message that is something like a program failure.Is there any way to open that drawing?

View 9 Replies View Related

AutoCAD Civil 3D :: XML Parcel Legal Description Errors

Oct 12, 2010

While generating a General Legal Description for Parcels xml report for a parcel with numerous tangent curves, reverse curves and compound curves, the report labels all of them as non-tangent.Also, I write my legal descriptions for curves by citing the bearing and distance OUT to the radius from the beginning of the curve, but the routine gives me the bearing and distance IN from the radius. It is using the code {curveStartDirection}.

Is there a different code I can use that would give me the opposite bearing? Is there some resource that lists all these codes for parcels?

View 9 Replies View Related

AutoCAD Civil 3D :: Survey Database Creation Errors

Oct 3, 2012

I have a 64-bit Windows 7 computer that we are running Civil 3D 2013.  We have attempted to create a survey database but get the attached .NET error. 

Repairing the .NET throught Control Panel as well as running the Microsoft .NET Repair Tool.  (After repairing the .NET we would get another error shown below)We have changed the UAC (User Account Control) for Windows 7We have also tried to find any .LDB for the database and did not find any Checked the folder settings which this user is an admin on his computerWe also created a survey database from other computers which are using WindowsXP 32bit and he was not able to access the database that way either Second error: 

'DbProviderFactories' section can only appear once per config file error

View 2 Replies View Related

AutoCAD Civil 3D :: Intersection Circular Dependency Errors

Dec 20, 2012

We have recently made the switch to Civil 3D for our firm and are running into some issues with intersections.  I am getting an error stating that "The primary road for this T-junction will result in a circular dependency with the existing intersections."  When trying to make an intersection at the middle intersecting road of the northern road going across the top of the screen in the attached image.  The norhtern road is defined as secondary at both endpoints and the intersecting road is defined as primary at the previous intersection.  At this intersection the northern road will need to be primary and the intersecting road secondary.   I would prefer not to break up my alignments as you lose some of the dynamic nature by doing that and vertical curves can become an issue. 

I am running Civil 3D 2013 64-bit. 

View 1 Replies View Related

AutoCAD Civil 3D :: Errors From Mixing Data And External References

Aug 20, 2013

Here is the background.  

A "MODEL" drawing exists that contains only the surface model.  The surface model is data referenced into a "LABEL" drawing that contains the surface style (contours), contour labels, and spot elevations.  This "LABEL" drawing is xref-ed into a "SHEET" drawing that contains the title block and some other xrefs containing the proposed layout, ex cond, etc..

When I open the "LABELS" drawing, the data reference works.  My problem is that when I open the "SHEET" drawing, the contour labels and spot elevations cannot find the referenced surface and just contain a string of 20 or so characters.

I already have a workaround.  If I open the "SHEET" drawing, then open the "LABELS" drawing and save it, I can reload the "LABELS" drawing within the "SHEET" drawing and the problem is solved.

HOWEVER, I have a bunch of sheets that I want to publish, and publish does not work when you have to open the file and re-reference everything.  Is there anyway to get this reference working correctly so that I do not have to open multiple drawings to get my data correct?

FYI, I have already tried resetting my data shortcuts project folder, validating data shortcuts, etc. in the "LABELS" and "SHEET" drawings.

Civil 3D 2012, SP 2.1

View 2 Replies View Related

AutoCAD Civil 3D :: Offset Alignments Vertical Curve Errors?

Jun 3, 2013

I have centreline alginement and have used the offset alginemnt command to get other alignments for other surfaces (need these as they have all different crossfalls). Now as o go along I reference the veritical profile of  the new alignement (created via offset) to my previous surface. Each time i do this the vertical profile does not seem to match my original profile of the centreline alignment.  Now as i have about 6 offsets and as i move along these error seems to grow even bigger. how this is avoidable or if this is output is unavoidable

View 5 Replies View Related

AutoCAD Civil 3D :: Point Cloud File Indexing Has Errors

Apr 19, 2012

When I try to index a Faro fls or fws file the process fails with the error message "Point Cloud File Indexing has Errors".

Civil 3D 2012
HP Z210
OS Windows 7 64 Bit
Core i7 16GB Ram

View 1 Replies View Related

AutoCad 2D :: Edit One Text String And Same Change Can Affect Another Text String

Jan 12, 2011

I was wondering if there is a way that AutoCad can edit one text string and the same change can affect another text string, instead of editing the same thing twice.

View 9 Replies View Related

AutoCAD Civil 3D :: Fatal Errors When Editing Large Amounts Of MText

May 16, 2013

Fatal Errors when editing large amounts of MText? I usually have to insert a good amount of drawing notes that we keep in word documents on our network and i find that the process of editing them causes me to Fatal Error when trying even the simplest edit, like erasing a sentence or changing a name.

How to edit the document in word before copy/pasting it into CAD, but the documents are locked for editing as is our standard practice for the general notes that we use.

I am going to make a dummy drawing in hopes of making my changes in an empty drawing, (although I strongly feel this is not a file size issue but a word to CAD translation issue).

View 8 Replies View Related

AutoCAD VB :: Invalid Argument Tag In Setting TagString

Oct 10, 2010

We are receving error on our VBA program under AutoCAD2011 "Invalid argument Tag in setting TagString" when writing tag string.Our lagazy program used to store some data on a hidden layer as tag string. Now the new VBA is not accepting those lines.Is it a bug or there is any workaround for this.

It was working without any trouble for  AutoCAD 2005-2010 versions.Example -

Call ThisDrawing.ModelSpace.AddAttribute(2, acAttributeModeInvisible, "oNotes" + Chr(64 + i), InsertionPoint, Me.lsbXnotes.list(i - 1), "")

View 1 Replies View Related

AutoCAD Inventor :: Passing Multidimensional Array As Argument To DLL

Feb 10, 2011

I'm trying to create a .DLL to access a database from within iLogic. I'm new to VB.net so I'm having some trouble. I need to pass a multidimensional array as an argument to the DLL, but when I try to run the code I get an error that says "Number of indices exceeds the number of dimensions of the indexed array."

Here is my code..

The errors occur on the sData(0,i) and the sData(1,i)

I left all the database code off, because passing the array is the big issue I believe.

Public sub AddRecord(ByRef sData() As String)
For i = 0 to FieldQty
rst.Fields.Item(sData(0,i).Value = sData(1,i)
Next
End Sub

View 5 Replies View Related

AutoCAD Civil 3D :: Changing Profile Line Label Style Causes Label String To Revert To Default

Sep 6, 2012

C3D 2013. We have profile line labels, some of which get manually edited (for example, change the "<[Tangent grade(FP|P2|RN|AP|GC|UN|SD|OF)]>" to a static number such as 0.29%).

However, if you CTRL+Click and select one of these labels and change the style of that one label, then the manual edits are lost and the label reverts back to the default string.

Is there any way to turn this behavior off?

View 1 Replies View Related

Revit :: Error / Encountered An Improper Argument

May 3, 2013

This morning when I started Revit 2013 and tried to open a file that I was working on last night, I got this error: "encountered an improper argument." The file will not open.
 
I tried to open a different file, and I get another error saying "An unrecoverable error has occured. The program will now be terminated.... " Revit will close.
 
I cannot open any files, or get Revit to run. Is my installation corrupt? Do I need to re-install or is it possible to try a repair?

View 2 Replies View Related

AutoCAD Inventor :: Import Wire From Alias Into Assembly

Jul 15, 2012

Someone has given me a .wire file from Alias. I fired up a new assembly in Inventor but it imported into a part. There are many parts to this design, and I'd rather have them as separate parts. However what I have now is one part with many surfaces (which I can turn on or off). Any tips for bringing it in differently? Maybe I can derive some parts out from my existing part which has about 20 surfaces (which should be parts)?

View 9 Replies View Related

AutoCAD Inventor :: Making Save As Command An Alias?

Jul 27, 2012

I am trying to find the command of Save as... so I customize it and make it a short curt...

View 2 Replies View Related

CorelDRAW X5 :: File Won't Open - Encountered Improper Argument

Aug 7, 2013

My Corel X5 file won't open but gives me the message "encountered an improper argument" or just freezes trying to open it. I tried installing Corel on a different computer but with the same result. 

Is my file corrupt? Is there any way to (partly) recover the inforamtion in my file?

View 9 Replies View Related

Maya :: Error / This Command Requires At Least 1 Argument(s) To Be Specified Or Selected

May 2, 2011

I opened my awesome camera projection mapping scene and all of a sudden the file doesnt work.I get a popup saying "Errors have occured while reading the scene that might result in data loss. Please check the Script Editor for details."

The Script Editor says:

file -f -new;
// Error: This command requires at least 1 argument(s) to be specified or selected; found 0. //
// untitled //
commandPort -securityWarning -name commandportDefault;
// mental ray for Maya 2011

[code].....

Anyway, I googled it and "delete the mayafolder and restart Maya, thus creating a new mayafolder automatically" came up and so I did, it didnt work. The next solution apparently was to export eveything into a new scene, but only a third of my stuff is IN the scene so that doesnt work at all (yes i tried anyway).The last thing I did in the scene before I closed it down for the weekend, was to import about 10 nCloth flags into the scene. Disabling them all ofcourse, but still, that might be the reason it's crashing, I dont know.

View 2 Replies View Related

AutoCAD Civil 3D :: Get Constraint Type

Dec 2, 2013

I have a profile with entities. 

using (Transaction trans = HostApplicationServices.WorkingDatabase.TransactionManager.StartTransaction()){
Autodesk.Civil.DatabaseServices.Profile perfil = default(Autodesk.Civil.DatabaseServices.Profile);
perfil = trans.GetObject(entRes.ObjectId, OpenMode.ForWrite) as Profile;
foreach(ProfileEntity entity in perfil.Entities)
[Code] .......

 or I could save TypeCode in my List.

aB.TypeCode= entity.Constraint2.GetTypeCode,  but I don´t have the table of those codes.  ¿?

I would like write with "typeof(.....)" and put my own code in my List.
 
Autocad Civil 3D 2014 +SP1
Quad Core Intel i7 3770-cpu 3.40Ghz.
ssd samsung 840 pro 512gb+ssd samsung 840 pro 256 gb+1tb hdd
32gb RAM 1600 Mhz.
nVidia Quadro 2000.
Win 7 Pro 64bit

View 1 Replies View Related

AutoCAD Civil 3D :: Add New Line Type?

May 6, 2013

I'd like to have a linetype that is a solid polyline with open circles every so often indicating a proposed field tile line.  I'd also like to have the same line filled in circles to indicate existing tile. 

How do I go about creating each line? 

I'm in 2010 C3D. 

View 2 Replies View Related

AutoCAD Civil 3D :: Creating A New Type

Dec 9, 2011

I am trying to create a new line type for water, drain, and sanitary. i want the lines to have letters on them

-----------W-------------W-----------

------------S--------------S-----------

------------D--------------D-----------

View 4 Replies View Related

AutoCAD 2010 :: Express Tools Command Alias Editor

Apr 11, 2012

I keep changing the Command Alias Editor in ACAD 2010 so I can use the hot keys I have grown accustomed to. They work fine but when I close ACAD then reopen it goes back to defaults and I have to change them again. I know it's probably loading the wrong menu file or something simple but figured I would ask the experts before I start moving files around.

View 2 Replies View Related







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