AutoCAD .NET :: Prompt Line Entity From The User?

Aug 16, 2012

How could I prompt a "two points" line entity from the user?

Something similar to " Editor.GetPoint() " ??

I was trying to use Editor.GetPoint() method two times. But this option does not show the preview of a line.

I also tried a combination of

doc.SendStringToExecute("line ");
db.ObjectAppended += new ObjectEventHandler(LineAppended);

but this option triggers LineAppended event handler as soon as I create the first point of a line. So it does not work.

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: Prompt User To Select A View When In Macro?

May 14, 2012

I have a macro which

1) checks to see if the active document is a drawing

2) Checks that the drawing is of a part

I want to prompt the user to select a view on the drawing, if this is not the first view on then a warning message is displayed.

Then I want to take this active view and change all of the geometry lines and holes EXCEPT for bend lines to a specific layer.

View 4 Replies View Related

AutoCAD .NET :: Prompt User To Pick Point On Circle With Given Radius?

Jul 25, 2013

I need my users to pick a point p, enter a distance r and a direction v. A new point should be created r units away in vectorial direction. Therefore, the new point is located on an imaginary circle with radius r and center p.

Currently, the user picks the first point and enters a distance. Then, he has to pick another point (Editor.GetPoint with UseBasePoint = true), I calculate the vector between both points, create a new point (with location = BasePoint.location) and translate it d units in vectorial direction. This works of course, but the problem is, that the user doesn't see directly, where his new point is located, since he may pick a point closer to or farther away then r units.

Naively spoken, I want to restrict the line between BasePoint and new point while prompting the user to a fixed length. Native calls to ObjectARX-methods would be also okay.

View 3 Replies View Related

AutoCAD Civil 3D :: How To Prompt User To Select Existing Pipe Network In VBA

Aug 31, 2012

I'd like my macro to prompt the user to select a pipe network that I will then export to excel. How is this possible to achieve? 

Using Building Design Suite Ultimate 2014

View 1 Replies View Related

Illustrator SDK :: Prompt User To Select Art?

Feb 21, 2012

Is there a method available to have the plugin pause and wait for a user to click some object, then continue? Or does all user interaction have to happen before/after the plugin is run?

View 2 Replies View Related

Illustrator Scripting :: How To Get User Input Via Prompt

Oct 3, 2013

I have this working without the prompt, if I under manually the margin via var margin = 10; it works. it also seems to return correctly when I print what the input from the user is, but it doesn't seem to want to work and freezes.
 
it says "point value expected"
 
//Helper functions
function print(i) {
    if(i == "object"){
        print("you are trying to printObject, use printObj(); function");
    }
    else { 
        $.write(i+"
[code]...

View 1 Replies View Related

Illustrator :: How To Prompt User To Select Multiple Files In File Dialog Using Scripts

Oct 5, 2013

Is there a way to allow user to select multiple files inside the file dialog using scripts? So not just something like "*.ai" or "*.eps" but where the user can actually use their shift key to select a batch of files inside the file dialog and then the script would process each one.

View 3 Replies View Related

AutoCAD 2013 :: Command Prompt Only Shows Last Line

May 1, 2013

We (the entire office) haven't had this issue in 2012, but in all of our 2013 installations, this is occurring.

In 2012, several rows are displayed in the command prompt, say for example you do a distance command, there are two rows of text showing the information the user might want to see.  It displays the first row of, distance, the angle in XY plane and the angle from XY plane.  The second row displays the delta X, delta Y and delta Z.

In 2013, it only displays delta X, delta Y and delta Z.  The user have to hit "F2" to invoke the "AutoCAD Text Window" to view the first line of text.

I hope there is a variable setting for this, and not an oversight by Autodesk.

View 7 Replies View Related

AutoCAD .NET :: Select Entity With In Line Closed AND Not Using Editor?

Jan 1, 2014

I want to load file with database.ReadDwgFile

i dont want use editor (i don't want use CommandFlags.Session)

after the load in the database (see my code for xdb), i want to select all bloc within a closed line entity (within the xdb)

but how to do that whitout editor (editor..SelectWindowPolygon )

here my code for load each file , and mémorize all block for each file
 
Dim CollDocOuvert As New Collection For Each NomFichier In Fenetre.CollFichier 'recherche et extraction des blocs Dim Fichier As New IO.FileInfo(NomFichier) If Fichier.Exists = True Then GestionAUTOCAD.TxtOnLigneCOmmande("Gestion du

[Code]....

StatusLabelBar is a component of my form for write msg. is use me.refresh and a timer (1s) for refresh my form. (a trick i have found for do this [if you have better trick i take it.])

View 9 Replies View Related

AutoCad :: Draw Straight Line Without Protractor Shaped Dotted Line / Unable To Set User Interface

Jan 22, 2012

How can I draw a straight line without that protractor shaped dotted line following my cursor making it lag and also not snap correctly to the next line? Also, I have noticed that I can't set my user interface to auto cad classic settings. There seems to be no option for it in workspace settings.

View 3 Replies View Related

AutoCAD LT :: Unable To Move An Entity Along Line A Specific Distance?

Apr 18, 2012

RE: Autocad LT not able to move an entity along a line a specific distance using cursor snap and dynamic input

What I want to do is move a line on an angle a certain distance in the direction of the line itself in this case 20mm

What used to happen is you'd simply select move and an endpoint on the line then hover over the mid or opposite endpoint of the line and enter 20 and it would move 20mm along the trajectory of the line.

The same set of actions now only seem to allow you to move the entity 100mm (the default value) along itself in the correct direction. If you enter 20 it does not move and if you enter 50 it moves 100!

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Insert Block With Pick Point On Line Prompt?

May 8, 2013

I have a lisp routine that I would like to add to. Right now when running the macro the user is not prompted to "Pick Point On Line" in this example

(command "insert" blk "s" var1 pause pause))

I have added the line

(setq pt1 (entsel "Pick Point On Line "))
(command "insert" blk pt1 "s" var1 pause pause))

but the command doesn't seem to like my PT1 value

BLK and VAR1 are set in another lisp routine.

View 9 Replies View Related

AutoCAD .NET :: If Selected Entity Xdata Contains Value Then Select Additional Entity

May 22, 2013

I would like to add additional entities to the selection if any of the selected entities contains a an xdata value.

If I put the condition into the ImpliedSelectionChanged reactor I imagine will probably loop back on itself.

View 9 Replies View Related

AutoCAD .NET :: Allow User To Select Red Line

Dec 29, 2013

Closet point? No

Intersection point? No...

This point is a special point, just corner of the PolyLine.I plan to only allow the user to select the red line, then the program loops through all polylines near the red line, and then find that point

View 7 Replies View Related

AutoCAD LT :: Updating Proxy Entity - Can Proxy Entity Attributes Be Changed

Feb 27, 2012

want to upated attributes in proxy entity is this possible?

View 1 Replies View Related

AutoCAD 2010 :: User Doesn't See First Line / Until Second Drawn

Nov 21, 2012

I have a user that when he draws the first line he does not see it until the second line or other action is taken. Photoshop is similar to this when drawing lines. Is there a setting to change that in the command line?

View 2 Replies View Related

AutoCad :: How To Make New (user Defined) Line Type

Aug 30, 2012

how can i make new(user defined) line type.

View 3 Replies View Related

AutoCAD Inventor :: Transition From Single User / Desktop Content To Two User / Vault?

May 7, 2013

After getting Vault installed on our server and successfully setting up users and connections, I used the Library Transfer Guide to move our Content Center (including custom) to the Vault. I then changed the Inventor Application Options -> Content Center -> Access Options to Autodesk Vault Server.

This seems to have worked, as I can Place from Content Center when in an assembly, and it is pulling standard content as well as our custom files properly from the vault.  However, in the instructions that I used for the installlation, it was suggested to stick with a standard folder structure within the Vault, namely two Library Folders named 'Content Center Files' and 'Libraries' and also a regular folder named 'Designs'.

 I created those folders prior to transferring the library, as I thought they would be populated with the standard/custom content. This was not the case and I am curious when these folders come into play? *they are empty*

Also, today I will be attempting to 'Check In' a project to the Vault that I recently completed; does this usually maintain structural relationships between files?

Would you recommend using a single project structure in vault for two people? It seems, since we won't be working on the same project at the same time, having a single project would not be relavant to our situation..

Inventor 2011 / Windows 7 Pro SP1 64bit
Dell Precision T3600
Intel Xeon E5-1607 @ 3.00GHz
AMD FirePro V4900
20 GB Ram

View 7 Replies View Related

AutoCAD Inventor :: Create A Prompt Box In IPT?

Jul 31, 2012

I am trying to come up with an easy way to input information for basic objects that we need for sales drawings. Is there a way to create a prompt(length, width, Diameter etc.) so when you open the .ipt it pops up? Anything a little more organized than the parameters box? I've done an excel sheet in the past for certain things, but didn't want to carry and excel sheet over for this option.

Inv 2011
Windows 7
Inventor 2011
Intel Core 2 Duo 2.93GHz
8GB RAM
Windows 7 Pro

View 6 Replies View Related

AutoCAD Inventor :: Prompt File Name IPT?

Feb 26, 2013

How can I add a rule so everytime I open a new .ipt the user have to type the file title and when saving the file the name of the .ipt is the same the promted entry?

Is it something like this?

Filename = iProperties.Value("Filename", "Title")
Filename = InputBox("Please type title", "Title",Filename)

I have the rule tp tripper when I open the file.

View 1 Replies View Related

AutoCad 2D :: Open PGP From Command Prompt?

Mar 29, 2011

how can I open file acad.pgp from the command prompt, without going through menu Tools ---> Customize ---> Edit Program Parameters

View 9 Replies View Related

AutoCad 2D :: Creating A Block That Does Not Prompt?

Mar 18, 2011

I have created a block attribute, but I want to be able to set it up so when I insert the block into my drawing, it does not prompt me to input a number in the Edit Attributes box.

View 5 Replies View Related

AutoCAD .NET :: Get New ID Entity?

Dec 27, 2013

I am doing a routine to break a polyline in different points.

I do this by prompt with SendCommand.
 
string strHandle1 = id.Handle.ToString(); string strEntName1 = "(handent "" + strHandle1 + "")"; string strCommand = "_BREAK" + "
" + strEntName1 + "
" + String_point + "
" + String_point + "
"; Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.SendStringToExecute(strCommand, true, false, true);
 
However, I need the new Id of polyline to continue break in other point.

I have tried this:

ObjectId idNewEntity = Autodesk.AutoCAD.Internal.Utils.EntLast();

to get the last entity created, but with "break" doesn´t consider new  entity created. Then, How can I get the new Id after "break"?
 
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 2 Replies View Related

AutoCAD 2010 :: No PDF Prompt Anymore When Publishing?

May 31, 2010

has something changed in 2011 controlling prompts to save pdfs when publishing from sheetset manager?? im using page overrides, which uses dwg to pdf.pc3 file. it publishes but no prompt for file name. i have checked the sheetset publish options and it is set to multiple & prompt for file name, however it still doesnt prompt and saves it in the folder nominated. where else is this controlled?

View 6 Replies View Related

AutoCAD VB :: Sending Prompt To Text Window

Dec 13, 2006

I have the following command in my VBA routine:

ThisDrawing.Utility.Prompt vbCrLf & "ABCDEF"

When I run my VBA routine from the VBA editor, the command appears in the text window of AutoCAD the way it should, but when I run the routine with the VBAload - VBArun commands (automated on a toolbar button), it does not. Do I need to obtain the AutoCAD object and issue commands that way instead of using the thisdrawing.utility method?

View 3 Replies View Related

AutoCAD .NET :: Select Object Command Prompt

Jun 4, 2012

I'm creating a VB.Net routine which will run the REVCLOUD command.  In my application I prompt the user to select a single polyline using:

EntRslt = acDoc.Editor.GetEntity(EntOpts)

Then later I run the REVCLOUD command using:

acDoc.SendStringToExecute("_revcloud Object Poly No ", False, False, True)

Where Poly is the polyline I selected earlier.  Of course, the line above doesn't work since "Poly" is interpreted as a string.  But I would like to figure out how to pass my VB.Net selected Polyline into the REVCLOUD command.

How I might do this?  The REVCLOUD command will not accept the "Previous" selection set so setting the Implied Selectoin does not work.  If my Polyline was the Last object in the database I could use the "Last" option, but it isn't.

View 7 Replies View Related

AutoCAD Print / Plot :: Prompt To Save DWG To PDF

Oct 30, 2012

Is there a way to have AutoCAD prompt the user for the name and location when Batch Plotting using DWG 2 PDF?

Currectly I can set the default location in the Publish Option by Naming and Mane are Greyed out and set to N/A.

I am able to set the Auto Publish but that only does a single sheet.

View 3 Replies View Related

AutoCAD 2013 :: Command Prompt Position

Jun 13, 2013

My command prompt window position moved to top left corner. Want to move back to bottom left corner.

View 1 Replies View Related

AutoCAD 2010 :: Dimension Input Prompt

Aug 15, 2011

What or where is the setting to change the dimension value input to automatic rather than accepting the default every time I put a dimension in?  I don't want to be prompted for input.

View 8 Replies View Related

AutoCAD Inventor :: Derive Prompt Not Working?

Feb 10, 2013

yesterday when I clicked on "Derive" while in a part file I would get a browse window to select the part I wanted to derive, after this a prompt would come up that asked if you wanted the part to be a surface or a solid, if you wanted to scale it, etc. For some odd reason today when I tried to derive a part it doesnt come up anymore. After I select the part it just gets inserted and to keep it I have to hit enter or right click and select "ok". Not sure why the prompt stopped popping out, havent changed anything.

Inventor Professional 2013
Autodesk Inventor Professional 2013

View 5 Replies View Related

AutoCAD .NET :: Text Prompt That Follows Cursor Not Tooltip / What Is It

Apr 20, 2011

I am wanting to copy the behaviour of a built in function in Civil3d on another object basically information on the object is displayed in a box next to the cursor cros hair but its not a tooltip.

My question is what is it and can you access it for do you have to create it yourselve.

View 2 Replies View Related







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