I wrote some stand+alone application (WinForm=, where user can specify dimensions.Now after button click I want to switch form to current AutoCAD file and prompt user to specify point.
From this point I want to start drawing few lines.And I don't know how to switch to AutoCad and get current drawing space.
When I place a breakpoint inside a Windows form i get the message "No Source Available" from Visual Studio.
I'm using Application.ShowModalDialog(..) to launch the dialog.
How can people develop code without being able to debug? This has been an issue for some versions now and the NEXTFIBERWORLD=0 is not a solution for me since the whole AddIn acts strange when i do that. All I find when searching for this is the NEXTFIBERWORLD trick.
I am using .Net API's with AutoCad 2011. I am using "Calibri" Font in my WinForm Dialog Box with a height 9.75. Loading the dll and functionality is perfect. No issue is there.
BUT, Now the problem is, whenever I am opening that form in AutoCad, the labels of that form is changed as the AutoCad substitute font for missing font files (in my PC it is "simplex.shx") !! But in Combobox, Treeview, Listboxes the same font is used and it is perfect there. Problem is only in the Label. I wonder why this is happening. I used a table layout panel in my form with 3 rows and 4 columns. Now placed the label in one cell of that table layout panel. In fact I placed the combobox, listboxes are also in other cells of that table layout panel.
I have to deal with the plans of others, some who change the dimensions through text formatting that I can see are fake or incorrect. I used to have a command that would detect the ACTUAL dimension but I can't seem to find it in ACAD 2010. find the command to restore the true dimensions?
when ever I enter pedit command, and I move into model space to select polylines to join, my curser/pointer disappears? I can not select any lines because I no longer have the little square box to select lines showing. I have nothing at all. When I move out of model space, my white select arrow reappears?
I need a winform control like photoshop in my project, yet it don't like so complex like phote shop, what I need is edit image, room out,zoom in,draw text, rect, change its color and so on, also user can move the object they created
Is there a setting controlling typed text visibility in the command line when using a leader? In 2004, text would show in the command line as it was typed. Now, to see what I am typing, I have to enter the leader dialogue box.
We have hundreds of macros for inserting blocks into drawings. Many require the user to input values for attributes. The command line in 2013 does not display the user prompt for entering values. ATTREQ is set to 1. ATTDIA is 0. We don't want to display the dialog box, just the prompt. Here is what a macro looks like...
There are two pauses before text orientation for a user to enter information.How do I get the attribute prompts to appear in the command line? Works fine in 2012!
I saw some years ago a 3D drawing where hidden lines were dashed after hide command. I tried to find out, how it was made, but nothing. Today I need this solution, but I can't find information, how is it possible.
I am having a problem with the show hidden line command, because when used in the project I can see dashed lines and continuous lines. I was looking for how to manage the line pattern in this command but there is no way to do it.
AutoCad 2011. I am having no luck when trying to drag a command from the Command List pane to the Quick Access Toolbar. I have success draging to Tool Palettes
I am currently writing a series of routines for setting the layers for text, leaders and dimension commands. The end goal is a system where any annotation command sets the correct layer for the duration of the command, then reverts back to the layer that was active before the command.
I have managed to complete all the code, and it appears to be working fine, I just have one question: I have used -layer "m" "Lay_name" etc... for all layer setting commands, rather than any code to see if the layer exists already. In my limited testing this seems to be suitable, nothing that exists on that layer seems to be affected.
I know how to write code to determine if the layer exists already and set the layer instead, but so far it seems unnecessary??
After installing the VBA Module, I get the message "Unknown command "VBARUN"". I've rebooted, restarted and tried reinstalling the VBA Module to no avail.
I press CTRL+9 to make the Command Line disappear while drawing. When I plot (or when doing a plot preview) , the Command Line appears again by itself. So I always have to turn the Command Line off manually after each plot
The bug still happens;
- if Dynamic Input is turned off or on - if I plot to a real device or in PDF - if the Cammand Line Palette i docked or floating.
This is not an issue in AutoCAD 2012 so I guess it has to do with the new way they programmed the revamped Command Line palette in 2013.
I need to save a drawing file and give it the name of my desire using a single command, I don't want to issue "saveas" and then specify the name in the file name prompt. This problem is has been faced when I was using ScriptPro and I couldn't succeeded to do that. Hence I need to know if it is feasible to do the stuff using a single command. It will be preferred if I can choose the location to save the file also rather than save the file to the default location.
without reiterating a lot of what is said in this thread: [URL] ......
This happen outside the potential malware infection?
if you care to not click-through, the problem is that certain commands (not all of them) simply do not disply in the command line. so the MOVE command for example looks like this:
Why new rooms show up in lieu of existing rooms when"show previous and demo" are set for the phase filter? Every single other existing element including doors, walls, windows, etc. show in the "show previous and demo" phase filter with the exception of rooms.
How can i use subtract area command in area command while using add command , often it happens we click on polyline whose area we did not want to consider. How can i do like this, i re click on that enclosed polyline and the area gets subtracted and the green fill goes away?
I've been attempting to use the GEOMAP command to bring satellite imagery into one of my maps. I have followed theses steps:
1. Signed into my Autodesk360 account. 2. Assigned a coordinate system (SC83F) to my map. 3. Entered the GEO MAP command and selected "A" for aerial image.
Following these steps, I am unable to display the aerial imagery.
Few years back our instructor in CAD teaches 'limits' since then i never use limits in all of my drawings. One thing i notice though is when i zoom extents my object seems so big and sometimes i can't use Pan command so what i did is to make a very long line just to make my object small..
* Does setting up limits a must before starting a job?
I am testing the LT 2012 version in Windows. I want to use the pan command which used to be a easily visible button, one click. In 2012 I have to go to View>Pan to acess the button, 2 clicks, If I type P I get a popup menu with every command starting with a P, with Pan at the top, click on Pan, 2 clicks again.
So, can I move the Pan button to the Home tab to make it simpler? Can I edit something so when I type P it knows I mean Pan and don't have to make another choice?
This is really slowing down my process and work flow, it's like stutter! Used to be a seamless flow of click, click, click. Now it is click, pause, search, click, pause, search, click.
I tried applying this flag to one of my commands for Autocad 2006. The documentation states that it forces users to enter the full namespace of the command in order to invoke it.
The problem is that even after defining the local, global, and group names I can't get the command to load. I've tried every possible namespace I could think of when entering the command into Autocad. The command works if I do not apply the flag, and typing GroupName.GlobalName into the command line also works - unless I add the Undefined flag.
[CommandMethod("group1", "cmd1", CommandFlags.Undefined)] _ Public Sub Test() End Sub