Visual Lisper trying to migrate to .net! how to restore a form?
I have an "about" project which contains 3 forms.
Form1 is displayed by default when the command is called...it contains two buttons which both close form1 & open form2 or form3. What I would like to happen is that when form2 or form3 is closed, form1 will be restored.
This is the code which defines the command & shows form1:
I have a customize form to use in AutoCAD. If I minimize the form, I can not see it anymore in the AutoCAD application tray. I want to minimize my form and later restore it after editing in .dwg file.
I have a new computer and want to move the databse catalog over. I backed up in PSE 9 to an external hard drive. I connected to HD to the new computer and tried a resotre catalog. I chose "New Location" since I was going from XP to Windows 7 and was unsure if there would be a conflict with file locations. I also chose "Restore Original Floder Strucure". Very quickly I recieve an error message "Could not restor file .xml". I have run Restore Catalog several times and each time a DIFFERENT FILE receives the error message. I then disabled Norton Anti Virus Auto-Protect. I then disabled several programs running in the background. Same problem. I then copied the Backup Catalog to the new computer and tried to Restore it from there. Same Problem. I have now run a Repair Catalog on the original file. PSE states there is no error. I want to purchas PSE 11, but wanted to install/restore the database with the same version 9 first.
One of the features I was really looking forward to in CS6 was creating fillable forms with ONE application. I created a form following the step by step instructions in classroom in a book for CS6. When I opened the exported form in Reader X, I get a "This operation is not permitted" error. I opened the completed "end" document in the lesson to make sure I didn't commit an error, and I got the same message when exporting. I have looked for places in menus to modify security restrictions and I can't find any. I installed the updates and that didn't solve the issue.
I saw one solution posted which is to open the document in Acrobat, then do a "save as" option. Is there anything we can do that doesn't involve buying additional software? If this is not the case, then Adobe seriously needs to change its training and advertising about this functionality.
I am working on a form (global) and have added a picture with a parameter and a picture folder underneath. So that the picture displayed on my form will change depending on the parameter value.Here comes the trick. Only text parameters can be used!On the form editor only 'Text parameter' can be selected to drive the picture selection. I actually need an integer, so that i can use my User/Excel parameters from Inventor.
I can work this around with an iLogic rule to equal the value of my string Picture Parameter with the relevant integer Inventor parameter, but the rules need to be run before the pic and the form updates (by pressing the 'Apply' button at the bottom of the form and then the assy updates too. So this takes a couple of minutes)... whereas if it was an option on the form editor then the update would be instant without waiting for everything to update...
Is there a particular reason why the Picture Parameter only can be a text parameter?
I have lost my "Home Tab" at the top of my screen and cannot get it back up. the tab that offers the Home, Insert, Annotate, Render, View, Manage, etc.
I have gone through the suggested "restore the default home view" and nothing happens.
I worked on a project a while back and loaded a sid into the drawing coord correct. I now have opened that drawing again and I get big letters with the image files path. I have tried to restore it but cannot get it back to the same coordinates. Is there a way I can restore the image without having to reinsert it?
I'm in AutoCAD Architecture 2010. I've lost all menubars and need to reload. I was perfectly happy with the 2010 ribbon. When I search other forums it seems the answers are all geared toward restoring the older format of menubars because people are unhappy with the 2010 ribbon. That does not apply to me. I just want to restore the default 2010 ribbon menu bar.
I've tried the "Menu bar" command and have not found the original 2010 default menu bar. Maybe it's there and I'm not figuring it out. Steer me to a path to reset and re-establish the default 2010 setup?
I prefer to not have to uninstall and re-install the program to get back to the default settings if I don't have to.
I want to AutoCAD do not lock it's space, when my Form is shown on display. But I have an exception when I use modeless dialog.
public void MyCommand () { //------------------------------------------------- // Using this code, my program works fine, but locks modal space of AutoCAD System.Windows.Forms.Application.EnableVisualStyles (); System.Windows.Forms.Application.Run (new Form1 ());
// I want to use this instruction to do not lock modal space // Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog (new Form1 ()); //------------------------------------------------- }
If I use modeless dialog I can read and write from acad prompt and create block; BUT I can't create BlockReference.
I get an exception "eLockViolation" in the next code instructions:
I kept getting a fatal error when I tried to open the layers manager and I found a discussion board saying I had to do a system restore to fix the problem. Well I did a system restore and now autocad won't even load. I click on the icon and the hour glass goes but then it disappers and nothing happens. I have windows 7 if that makes a difference. I have been using 2007 lt for a few months now and everything worked fine.
I have lost several days of work when Vault has overwritten my local files, about 5 iam and 20 ipt-files. I think it started with a crash and then when I reopened my main assembly it was 13 days old.
It seems that I have forgot to check in my local files to Vault since that date. I am not sure how it happened but I suppose I have answered the question (about replacing local files by older versions from Vault) wrong. Is there any possibility to restore my overwritten files?
OK, something I did completely displaced my ribbon from the default horizontal location to either a floating or dockable vertical layout. It's probably staring me right in the face but how can I change it back?
I tried to create a new workspace, and it was sort of working where I could switch between my custom workspace and the original 2 or 3 Autocad workspaces. Then I think I loaded a menu and the other (original work spaces) have disapeared. How to restore these without doing a re-install?
I just installed Autocad Architecture 2013 only to learn that Autodesk once again is hard at work making our lives difficult. For some reason they seem to want us ALL to use the ribbon. The ribbon in my opinion is HORRIBLE. I MUCH prefer the classic workspace since I do not use many toolbars and I key in the vast majority of my commands. As such, I get rid of the ribbon because it takes up too much space considering the fact that I only use a handful of buttons from the ribbon. But Autodesk has thrown a bunch of obstacles in my way.
1. Type "ribbonclose" - this closes the ribbon.
2. Type "cui" - this bring up the Customize User Interface dialogue box.
3. Right click on workspaces. Enter a new name for your new workspace.
4. (optional) Right click on toolbars to make your own. Then drag and drop commands from below into your new toolbar.You may also notice that you no longer have toolbars, soooo..
5. Type "menuload" - things brings up the Load/Unload Customizations dialogue box.
6. Click "Browse".
7. Select the first file ending in ".cuix". Click "Open". Click "Load". If you get an error message don't worry.
8. Repeat step 7 for each and every file ending in ".cuix".
Now you have tool bars and menus. However, the Express menu may STILL not work.
9. Then visit this webpage:URL.... to get the Express menu working.
10. Close autocad. and re-open autocad.
11. Set up your screen the way you like it.
12. Either click on the workspace switching icon on the lower right portion of your screen or type "workspace" and select "Save Current As".
13. Save your workspace with whatever name you like.
Had the Layers window open adding a layer. I don't know what I did, but now All that is showing is a 1/4 inch window along the top that shows All 57 layers displayed of 57 layer. What can I do to restore the full layers window.
I want to move our firm to using a UCS that aligns with the viewport.
However my hesitation has always been that World does not seem to restore to the original coordinates.
We do survey drafting and the map grid coordinates are critical and we drop in new survey data over the existing on a regular basis.
I tested it again last week but still I cannot insert new data into the same position even after restoring to World UCS. It is consistently about 1.5 units offset from the correct position.
Am I doing something wrong? Should USC World set it back the identical original coordinates such that I could confidently paste with a 0,0 base point and have geometry by in the correct position.
I'm trying to import a .SAT file into ACAD 2000. I'm using the ACISIN command. Usually I don't have any problems with this. When I find a .SAT file that is too recent, I use HOOPS 3D Part Viewer v13.15 for ACIS to save down the file.
Lately I've been trying to import some Colson caster CAD files from 3dcontent central and I have a problem when I get to the ACISIN portion of my procedure. I get this message
"Modeling Operation Error: Missing integer in restore file. Unable to read the ACIS file"
The file looks fine in HOOPS. I'm not sure why it's not coming into ACAD. I used to not have this problem but I'm having it a lot lately.
Is there a way to get columns in form? I would like to put
Hole F Type { List the types} Hole F Location {input box} Hole N Type { List the types} Hole N Location {input box} Hole G Type { List the types} Hole G Location {input box}
I'm using visual studio 2010 and autocad 2012 x64. When I make (visual) changes to a form in the editor between debugging, for example the width of the form, the changes aren't visible on next debugging, it's still the same width as it was before. Same thing for font size, when changed the changes are not showing when debugging again. Almost seems like autocad remebers the previous layout of the form. A new control added between debugging shows up fine.
I'm trying to enter a model parameter value with a VBA form, but I don't know which type of control to use neither how to write the code. I want to enter a number or a value with any control and use this value for modify a model parameter.
I have a simple code with a line:
oModelParams.Item("z").Value = 25
I want to make something like:
assuming that "TextBox1.Value" is a numeric value obtained with a control at the form
Am into Customization of AutoCAD and the project which I am doing is almost completed. There is a small problem. When i double click on Line Dimension i should get a form to change together Line and Dimension, like we have in Inventor.
When an macro of a Lisp is active I can zoom and pan in a drawing. I press Escape to quit.Why can't I do that when a form is active in vba? Is that only because Showmodal is on?