AutoCAD LT :: Reset User-created Environment Variable To Be Empty?
May 31, 2012
I have created an environment variable called "SUFFIX", and assigned it the value "PSI", using the following command sequence:
setenv<enter>SUFFIX<enter>PSI<enter>
It works fine for what I'm doing (a toolbar button macro using DIESEL in AutoCAD LT 2011), but now I want to set the variable SUFFIX to be empty: not a space, not anything at all. I can't figure out a keyboard input that will do that.
P.S. Perhaps there is an AutoCAD variable that consists of a null string? If so, I could "$M=" to get that null value and place it in SUFFIX.
I am trying to use a Windows environment variable to point to my root directory where the projects are stored. When I type %MYINVPROJECTROOT%/newproject/... into the path of a new project, it seems Inventor is unable to resolve the path.
We use SVN to collaborate, hence, instead of forcing everybody to the same folder structure, we keep everything in SVN and people just need to set an env var to point to the respective folders where they checked out their working copy. This is especially useful when working with branches, etc. All other engineering tools seem fine with this (MATLAB, Labview, Maple, ...) only Inventor seems to fall behind.
My working company currently practicing multiple user per pc. The autocad can run smoothly during the 1st time windows user account setup. But later on, after few days it start crash. The app will load and run but just for doing simple thing such draw lines, polilines n such. When i want to access the task panel, it crashed. Same if wan to load application, lisp etc. It only work fine under the user account which it is installed in. My user account have the administrative privilege and i'm running Windows XP platform (x32).
According to the documentation the FRAME system variable overrides XCLIPFRAME, IMAGEFRAME, etc., has four valid values, 0, 1, 2, or 3, and its initial default value is 3. While editing a drawing, I set FRAME to 0, and then some time later, tried to set it back to 3. AutoCAD refused to accept this value, saying "Requires an integer between 0 and 2." Typing (SETVAR "FRAME" 3) at the command line also failed. The only way I could get it back to 3 was to use UNDO to go back to the default value. Is this a bug?
My office is launching 2013 and the one issue that is really bothering me is the selection preview variable keeps getting reset <0> and I cannot figure out what is causing it?
I like to have the selection variable set to <3> and my selection cycling set <-2> so I can hold down shift and tap space bar to visually cycle through overlapping objects but this is very difficult to do when the selection preview variable resets to none <0>.
I think the new box popup in this release is very bothersome and would like to figure this glitch out.
When I attempt to change my user variable "xyz", a linear restraint, by 4 or more, I get an error message, "A dependent expression cannot be evaluated. The parameter is used in an expression which results in an invalid value for a dimensional constraint." But I can change the value by increments of two many times and exceed the limit of 4, and not get the error message. What is happening and how do I correct this issue?
When using AdMigrator.exe /reset [see here] you can create a ZIP file with a backup of the user settings. Are there any instructions to restore the user settings from the ZIP file?
Main question: I need the user to be able to type a command. Then use it or cancel it. Then i need them to type another lisp command. In the second command i need to know (have the string of) the previous command they typed in. How do i get that string?
What I have tried.
I have looked at "LASTPROMPT" though not extensively, and i believe it would just return "ineedhelp" if i tried that.
I have looked at "CMDNAMES" but that gives the command you're currently in.
And I have found one page on this forum titled: Command Line History Macro, but there was no answer on that post.
I could create a global variable for that string, but then I would have to put the set code in every function I create. Nope, will not.
Backstory:
There's a person that is going to make how-to videos on how to use some of my lisp routines.
Anyhow, I need the user to be able to type in "ineedhelp" and the lisp that runs must get the last command's string go to the shared drive and pull up the video file for that command.
I have made a lisp that opened a word file before, and if i could get the string of the previous command, i'm fairly certain that I can get the videos to work.
There will be approximately 60 lisp routine video's.
Our office created a library of blocks for use in our dwgs in the early days of Autocad. Since installing MEP2013 when inserting the blocks many of them have mysteriously changed from inches to millimeter units. We have to go back to each block(dwg) and change the units and rescale the blocks. We upgraded from MEP2012 and they were working fine.
In Illustrator CS6 and CC, when the stroke width tool is used on a curve, the curve is actually made up of a series of straight lines instead of smooth vector curves:
whereas in CS5 it looks perfect.These images may be too small to see the details, but the difference is there. Is there a workaround for this? Or is it recognized as a bug?
I have created user defiined properties to add up to 5 inverts to a topo point object. Each consists of the direction of the invert as an enumerated list that can be picked from (N, NE, S, SE, etc) and the second is the measured distance from rim down to IE. I created these in order IE1_Dir, IE1_Meas, IE2_Dir, IE2_Meas, etc and the first time I used it everything worked fine and was in the proper order. Now after opening the drawing for a 2nd time all of the UDP's are scrambled making it a bit of a PITA to enter into the proper fields.
I do not see any logical order to why it is displaying this way as if it was in order of creation or alphebetical it would not have changed. Is there any way to correct this or is this a case of Civil 3D is going to do whatever it wants to do?
Where are the user created actions saved to? It seems that when my computer is restarted that my actions that I've created in CS2 dissapear. In an attempt to fix this (aside from saving my actions) I'd like to see why the IT folks are dumping that folder, or keeping PS from saving the actions I've created.
I tried to create some new How Tos in CS3 and recieved the following error message when I try to open it:
"The Adobe Help application could not load a URL because the specified file could not be found. You may need to re-install the application and the help component."
If I access one of the ones created with CS2 it opens (I dragged them over from CS2, I have since removed CS2 from this computer, it's still on my laptop) I haven't tried creating them and importing them to this computer).
I'm using Microsoft Office Word 2003 to save the How Tos as html files, and notepad to edit Add_001.howto file.
Since I gotten this error, I reloaded CS3 Design Standard, it didn't fix the problem. Also I have ensured that the Add_001.howto file points to the right location (C:Program FilesAdobeAdobe Photoshop CS3Helpadditional how to content)and is in the right format: "John Shaws CS3" "47. A GLOSSARY OF IMAGING TERMS" 47.html (works). "Noise Ninja" "The Thirty Second Guide to Noise Ninja" Noise Ninja 001.html (doesn't work)
The only thing new on the computer is a brand spanking new EVGA NVidia Geforce 9500GT PCI express(512 mb ddr2 dual DVI output) with the latest drivers. It replaced NVidia GeForce 6600GS and Matrox Millenium video cards (the Matrox). The new video card does not include some program that allows it to run MS-DOS programs, but I don't feel that is causing the problem.
System Info:
Photoshop CS3 10.0.1
Computer: Gateway DX310X with Gateway FPD1975W and FPD1730 monitors
Using Revit 2014 LT. Trying to open a file created by another user/seat of Revit 2014 LT (trial version for now).
Error Message reads "The file is open for editing by another user. If you open the file, you cannot save changes until the user closes is. In this case, your changes will overwrite the user's changes. What do you want to do?"
The file is NOT open by another user though.
I realize LT does not allow worksharing, but I assumed that was multiple users working on the same file at the same time. We need to open files one at a time, but by different users.
i'm in action schematic and if i reset any node (for example images/surface) then some parameter is still not affected. For example : the blend type and surface type and couple more are not affected by that reset function. Is this a bug ?
I'm a web developer currently slicing an illustrator file for web graphics. Some of the icons and images have shadows, lights, etc, and it's impossible to simply see by a naked eye which pixels contains some shade or nearly transparent color and which doesn't.
It would be extremely useful if I could somehow easily differentiate between empty and non-empty pixels, so I wouldn't miss any when slicing.
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..
I'm attempting to write a batch script to add some layers to a pre-existing image and save a copy. I've gone through the tutorial, and have run the demo code from Basic_Batch with no errors, but my (what I think of as simple) script throws an "Error: eval: unbound variable: ?" It also seems to cascade the error to other scripts, as I then get "unmatched parentheses: 2" errors from what I assume to be the script immediately following my own during Script-Fu load. This occurs whether running from batch or clicking "Refresh Scripts" from the Script-Fu menu.
What I could find on this forum and Google suggests that I may be required to 'define' one or more of my variables before using it, but for the life of me, I can't figure out which one that would be, and the error (reporting that '?' is undefined!?) I've quintuply (probably more ~_^) checked my parenthesis matching, but they look fine to me.
In case this was an encoding issue, I've tried saving my .scm file as both UTF-8 and ANSI. I should also note that I'm running Windows 7 x64 in English-US.
When opening an assembly document via the API (inventorApplication.Documents.Open("path-to-document")), the browser pane and ribbon look like no document has been opened, even though the active environment (inventorApplication.UserInterfaceManager.ActiveEnvironment.DisplayName) is "Assembly".
I´m drawing a component which does not fit within the drawing sheet. How can I reduce its space on the sheet, while keeping the dimension equal?? I know I can use a Break, but I really can't suceed into using it.
I am using the Student version of Autodesk inventor 2013.I was able to use the simulation, stress analysis features for a period of 10 days from the day of installation but its not working now.I have tried reinstallation also. I am using a registered version only.
I have an assembly which is made with a sub assembly. The sub assembly has iLogic code that both resizes it's parts and suppresses parts that arn't needed after a change in length.
I have a bunch of parts that are almost identical except for a few minor changes each time. Most have already been created in Inventor. My problem is that I want to rotate the part so that a face that was once along the XZ plane will now be in the XY plane. Is there anyway to rotate it like this? I would like to do this so that when I bring it into Mastercam, I don't have to rotate it each time.
The individual (environment) icons, i.e.; iam, ipt, idw, ipn doesn't show up anymore with my Inventor 2010. When I open Inventor, there is only one common icon shows (I) for iam, ipt, idw etc. How can I make the individual icon visible gain?
I am experiencing a problem where my Autosnap Settings (system variable "autosnap") are not be saved in my Civil 3D session. When I open Civil 3D 09 (SP1), my autosnap variable gets set to some weird number (aka 6768 or -12566). Each time I get into the drawing I need to reset this to 55, or go into my Options-Drafting-Autosnap Settings and toggle on Marker, Magnet, and Display Autosnap tooltip. This is a system variable and should be retained upon entering a drawing file.
I am creating a view, then a sketch on the top of the view. I should be able to project geometry of the view onto the sketch, for some rason Project Geometry icon is grayed out.
I would like to change the color of the sheet in the drafting environment to white. At the moment it's a light tan or light yellow color; the default. How do I do this?
In the Inventor 2012 drawing environment when multiple objects were present I would pause the curser and use the wheel on the mouse to select the object and click the green check mark to dimension a part.
In Inventor 2013 the objects will scroll using the wheel but the green check mark don't show up. How can I select the correct object I want to dimension to?Has the behavior of the select other function changed in Invnetor 2013 or is this a bug?
I'm dimensioning to a mid point of a line that has a center line over it.