AutoCAD VB :: Type (CommandMethod) Is Not Defined
Apr 21, 2012
I installed VS 2010 Express and then installed ObjectARX SDK 2013.
I can start a project, but in myCommands.vb I get the message above. It's going to be difficult to continue if any commands I create have a 0% chance of working.
why I would get this error even though I am able to start a project using the AutoCAD Plug-in.
I have already uninstalled and re-installed VisualStudio and ObjectArx.
View 7 Replies
ADVERTISEMENT
Aug 30, 2012
how can i make new(user defined) line type.
View 3 Replies
View Related
Apr 12, 2012
Microsoft Visual C# 2010 Express..Trying to create first dll in 2013, referenced acdbmgd and acmgd (as usual, as in previous versions) then included:
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
but ...
Error in IDE (Visual C#) when entering: [CommandMethod("TEST")]
Error: CommandMethod could not be found .. are you missing a using directive or an assembly reference
View 4 Replies
View Related
Feb 2, 2006
The act of opening the CHM file is no problem from VBA. However, this particular routine does not use a dialog box, only a "select objects" prompt. I want to allow the user to press "F1" or "'HELP" at this point and have it open my CHM file.
In lisp, you can use (setfunhelp) to do this.
So in theory, if the VBA sub is called like this:
(defun c:foo ()(vl-vbaload "c:/program files/
directory>/sample/vba/drawline.dvb"))
...then the lisp function should work, but it doesn't. Pressing "F1" or "'HELP" during the vba routine, simply opens the AutoCAD HELP to the default page.
View 9 Replies
View Related
Sep 6, 2013
I'm trying to insert a new instance of a X-Ref already present on the drawing. If i use Database.AttachXref(path, name) I receive "ref NAME has already been defined. Using existing definition." on the command bar. I've tried to retrieve the ObjectId of the X-Ref definition from the X-Ref name, but my code don't work. Where is the error?
Here's my
Private Sub AttachXRef(path As String, name As String)
Dim Doc As Document = Application.DocumentManager.MdiActiveDocument
Dim Db As Database = Doc.Database Dim pPtRes As PromptPointResult
Dim pPtOpts As PromptPointOptions = New PromptPointOptions("")
[Code] ...
View 2 Replies
View Related
Aug 25, 2011
I have a drawing from an architect, and they have used a user defined hatch pattern. But I cannot use it. I can find it's name, it shows up in properties and in the hatch tools. But it isn't in any *.pat files and I can't copy it into my tool palettes. where I could find it, it shows up just fine in the drawing, but I can't figure out how to use it in other areas, not even within the same drawing.
View 1 Replies
View Related
Apr 7, 2009
I installed the trial of ACA 2010 so that I can review it.
I typed MENUBAR 1 to put the menu bar back up as all my staff use it and it will be required so that we can transfer from ACA 2008.
But I got the message "No menus are defined".
Why is this, I have just done a standard install I haven't changed anything...
View 9 Replies
View Related
Feb 14, 2013
I'm looking for a way to tag entities (for example arc) in a DXF with an numeric ID of my choosing. I've been trying to understand the DXF reference and find examples of how to do it, but there is not much information available. My interpretation of the standard is that I'm allowed to do this:
0
ARC
8
Layer1
10
-1.734315
20
-1.975000
40
0.300000
50
225.000027
51
270.000065
102
{MYAPPLICATION
2000
13
102
}
Where 2000 is my application defined code and 13 is my numeric ID value. Is this correct use of application defined codes?
View 4 Replies
View Related
Dec 23, 2013
I need to loop through the user defined properties and create a list. I can create the lost but I can't find a way of looping through the defined properties. I can get property values but only if I know the name.
I need to loop through without knowing the UD name. Is there a way to recursively loop through all of the user defined properties?
View 3 Replies
View Related
Apr 16, 2012
I'm trying to add user defined properties to parcels, and then apply various styles to control shading of parcels, and to display some or all of the user defined data, as applicable depending on the values of that data.
I have managed to create a user defined category within my [User-Defined Property Classification] and then create categories within that classification.
The problem I'm having is that I want to be able to see those classifications in prospector so that I can sort based on those values, and then batch assign styles. How to display the classifications.
View 9 Replies
View Related
May 23, 2012
Is there a way to declare a non-bound array (dynamic array?) in iLogic?
There are examples of set bounds array:
MyDoubleValues = New Double(){1.2,2.2,3.3}
But doing something like:
Dim MyDoubleValues() As Double ---Or--- MyDoubleValues = New Double()
Results in an error. On the other hand, the following totally works:
Dim MyDoubleValues(1) As Double
Which creates an array with a Ubound of 2
View 1 Replies
View Related
Nov 8, 2012
So - user defined properties for points are great. My only problem is that I can't copy and paste them between drawings without losing the user defined properties. I've tried it in both c3d 2011 and 2013.
I can export them into a user defined point file and import them into another drawing the same way, but that is more cumbersome than just copying and pasting.
C3D - 2014
View 1 Replies
View Related
May 8, 2012
I have created a MANHOLE UDP which defines inverts in & out etc as well pipe types and sizes. Is there a way to automatically generate a polyline or feature line which picks up the invertout to invert in of the next manhole by point number? hope that makes sense! I am using Civil3D 2012.
View 1 Replies
View Related
Mar 6, 2012
I have defined 3 user-defined contours for various elevations in my pond. I would like to disply them differently from one another, so I set their display styles in the analysis window where I created them. Unfortunately, the are only displayed per the settings in the surface style which is 1 - not what I want and 2 - all identitical. I have tried various settings in the surface style, but the contours will not display the way I have selected in the analysis window.
C3D 2011 w/ latest updates
View 6 Replies
View Related
Dec 16, 2013
I'd like to create a routine that will automatically change an object to a pre-defined layer.
Command "1" would "MATCHPROP" and change a selected object to layer "1empty", command "2" would "MATCHPROP" to layer "0"
So, type 1, select an object, that object would be changed to layer "1empty"
View 2 Replies
View Related
Jul 26, 2013
VBA routine that will allow you to select a work plane in the browser and find all sketches that are defined by it. We do extensive skeletal modelling and our master parts consist of many sketches and sketch planes
Note, I am aware of the VBA routine that allows you to select a sketch and highlight the plane or surface that it is made off of.
View 5 Replies
View Related
Feb 3, 2011
If it is possible to define user specified patterns to draw spatial objects (for example connected shapefiles)? If yes, where can I find the *.pat file?
View 9 Replies
View Related
Jan 2, 2014
i can easily add user defined properties using Apprentice but i cannot delete them. There is a function to delete but i always get a message back saying the Parameter is Incorrect. When i check the parameter, it IS correct. Any method for deleted User Defined Properties using Apprentice?
View 1 Replies
View Related
Aug 6, 2013
Basically I am evaluating to model rebars in Inventor. Rebars come in predefined shapes - for example a "L" bar will have two dimensions (marked as A, E and R). The shape definition is fixed by a standard (like BS:8666) and the values for dimensions A, E and R are provided when it is instantiated as a part in an assembly.
I created an assembly as follows:Created a new part containing just a solid cube.Created a part for the above rebar by sweeping a circle along path which resembelled the above bar.Created an assembly and inserted the cube as 1st part.Inserted the L bar part as 2nd partInserted another L bar as 3rd part.modified the 3rd part's diameter and found it updates the other L bar as well.
My questions:Is there any way for me to create the part for L bar without giving any fixed values for the sweep path and sweep profile diameter and use it in assembly?If the above question doesn't has a solution, then is there any way for me to change one instance of the part to change while other instances of it doesnt get affected (the behaviour said in step 6 of above should not happen).
View 4 Replies
View Related
Mar 27, 2007
Here at work we are have one computer that has some user defined coordinate systems on it, and we are needing to place these coordinate system files onto another computer so we can project some of our drawing files correctly.
What do we need to do in order to move these files from one computer to the next? What do we need to export?
View 4 Replies
View Related
Jul 18, 2012
How do I globally change the defined width of a group of mtext entities in a drawing? If I select a few mtext entities that I want to make the same width then go to Properties, the Defined Width box says "varies" and is not editable. Seems like long ago I used to be able to do this, but not now. I'm running 2011 autocad.
View 6 Replies
View Related
Oct 23, 2013
I am having some trouble with hatch patterns. We are using FM Systems as our CAFM tool and there is a plugin for it within AutoCAD. The plugin allows you to create hatch patterns for things such as departments and space types. Right now this is working perfectly within AutoCAD 2012. However, when I try to run the routine within AutoCAD 2014, the only hatches that show up are the solid ones. In other words, any pattern that is not a solid pattern does not show up. I tried comparing all of the Hatch System Variables between 2012 and 2014, but still get the same thing.
View 7 Replies
View Related
Nov 22, 2013
I am able to create my own leader style, a loop, similar to the "dot blank" option that ACAD provides.
However, as with any leader style, once you pick the starting point of your leader you must extend it a certain length in order for the arrow, dot, slash, etc. to appear. This is a draw back in tight spaces where you are trying to fit the leader and the subsequent text.
Basically I would like to know if there is a setting that will allow me to pick the starting point of the leader and have the shortest length of leader line while still showing the "arrowhead".
I realize I can scale down the arrowhead type to give me more space. I realize I can explode the leader and shorten the line portion of the leader. I realize I can create a block of a "leader" that will give the appearance that I am looking for.
However, these are last ditch options if there is no solution.
View 1 Replies
View Related
Dec 10, 2012
Is there any chance to get user defined properties using .NET API for civil 2012?
View 9 Replies
View Related
May 16, 2012
I am getting this error message many times in my command promt.
** Glyph not defined at: U+0050.
Where I can download the font for this error? I searched in google, but I dont find it.
View 3 Replies
View Related
Oct 30, 2012
Possible to use a block, such as a hex or circle with a number centered, instead of the out of the box number with a period? I have Key Notes that need numbers with a hex, and Construction notes, that need numbers in a circle. I can label these items with multileaders with a user defined block, but when I type out the notes using mtext, I want to use the exact same blocks to number the notes that correspond with my multileader label. I have been manually inserting blocks along side of my un-numbered mtext notes.
View 4 Replies
View Related
Mar 18, 2013
I am trying to write a script to do the following.
For each (cogo point in drawing)
{
If (Raw description == THISCODE*)
{
Replace THISCODE with User defined attribute 1
}
applyDescriptionKey()
}
I am running Civil 3D 2013. Having read through a few of your other threads I noticed that applyDescriptionKey() is 2013 specific.
View 7 Replies
View Related
Aug 17, 2011
I am trying to make an iPart of a fitting where I can change the "Body type" and it will change all the parameters associated with that body type through iLogic. Really I am just playing around in iLogic to see if this is something worth learning. Back to the point, I would like to change a multi-value user text parameter through the iPart table but I cannot find the paramter in the parameters tab.
Since it is a user parameter I thought it would be in the "Other" folder but it isn't. I do however have the other multi-value user number parameter in that folder, which makes me think that maybe I can't use the paramter in the iParts table?
INV 2012 SP1
Windows 7 64 Bit
ATI FirePro V5800
14.0 GB RAM
View 9 Replies
View Related
Dec 6, 2013
I’d like to ask how I can measure the area of a region, defined on a TIN surface. ( i.e. the area of the bounded topographic terrain )
View 8 Replies
View Related
Oct 11, 2012
I have created various symbols to be placed into drawings when required, rather than having to re-create the same sketch every time the drawing is produced.
When I place the symbol I am given the option to select where to insert it, based on the insertion point. The problem is... once the symbol is placed there is no way (that I can figure out) to constrain to the view or dimension to it.
View 8 Replies
View Related
Apr 10, 2012
I've some user-defined iProperties in my idw-file. As soon as I set the file to "read-only" (via explorer RMB->properties) these iProperties are not shown on the drawing sheet when i open the drawing. ow to abandon this effect?
View 3 Replies
View Related