Jump to content

MaxStudio

Member
  • Posts

    319
  • Joined

  • Last visited

Everything posted by MaxStudio

  1. Oooooooh... Amazing how something so simple gets looked right over =/ is there an option for this in VW 10 also?
  2. Is there a way to change the color of the gray color used when I set a layer to be grayed out? When printing it is coming out too light....
  3. Thanks Ccroft I'll try that do you know if there is a better way to allow a user to input text in a dialog box and then have it create the text in a text box in vectorworks?
  4. I created a dialog with an EditText box. How do I set what the user types to a variable so that I can create a textfield in vectorworks? I've gotten it to work with string dialogs but not using a modern dialog. I know that if I create an EditReal box I can use a GetEditReal to set the value to a variable, but how do I do that with the text string? I haven't found a GetEditText that I can use to set the text to a string variable.... please help
  5. thats great! I can't seem to install the plugin examples though. I normally create a script pallete, create a new script, paste my script, then compile. How do I go about installing the plugin? and then how do I run it?
  6. Hey folks thanks a lot. I haven't been able to get to this yet but I will definitely look into your advice in the future. Miguel, my scripts are for 2D drawing exclusively (our office draws mostly in 2D). Is there an advantage to creating a Plugin? I've never created one. Do you know of any good and simple examples I could take a look at? or tutorials?
  7. Is there a way that I can get a check boxed to be selected when I select a specific pull down item? At the moment I can only get the check box to be unchecked and then the user has to check it. I want the default (depending on the pulldown choice) to have the check box checked. Then the user could have the choice to uncheck the box. Thanks
  8. I have written a script which asks a user to enter some real numbers to create an object. The user will use the script multiple times during a drawing. Lets say the user is going to create a door in a wall. The script has the default for the wall set at 4.5". The problem is the walls of the house are 5.5". Everytime the user runs the script they have to change the 4.5" to 5.5" My question. Is there a way I can script the default variable so it remembers the 'real number' that was used the last time the script was run? So the first time the user runs the script they will change the wall thickness from 4.5" to 5.5". The second time the script is run it remembers that the walls are 5.5". So the new default setting for the wall is 5.5". I hope thats clear. thanks
  9. Is there a way to select all the text that uses a specific font?
  10. Hey thanks IAN! that's exactly what i needed
  11. I would like to write a script that allows me to create a viewport that has predefined visibility settings. A user should easily be able to select the type of viewport (RC Plan, P/T Plan, Construction Plan...) they want from a pulldown menu and then click create. The viewport would be created using a predefined crop that is all ready an object in the Template file.
  12. I created multiple objects with a script. Is there some way with scripting that I can undo all the objects(the entire script) with just one undo click?
  13. ok i got it. I always seem to figure out the problem right after i posted the question. i just eliminated the 'RC Shade'... i'll have to define another string and then add the two together. S:String; Begin s:='Hello'; X:=s +'RC Shade'; H!:=CreateLayer(x,1); End; Run()
  14. ok i got this working but, i want the user to be able to type the name of the layer they want is it possible for that? VAR s:string; H1:handle; Begin s:= 'Hello'; H1 := CreateLayer(s,'RC Shade'', 1); End; Run(program) I get an error it doesn't like reading the 's' variable. it seems to only want 1 string and 1 integer.
  15. yeah I'm trying to make a script that allows a user to create a new floor.... and gives them all the layers they need in the order that they need to be in. It will work sort of like what the program does all ready if you use 'Create Standard Viewport'. Except the viewport will not be setup. unless you know of anyone who has experience doing that too.. I once messed around with the actual program itself to get the 'Standard Viewports' to do what i wanted but I don't know if that is a good idea or just over complicated.
  16. Anyone know if there is a way to create a new layer or a set of layers using a script?
  17. uhg.. there goes my template! lol thanks jeff
  18. is there a way i can copy something from one class and paste it to another class without changing the class in the object info palette? i just want to be able to copy something, change which class I'm on, and paste it in the new class.
  19. sorry i meant 'x' will be an integer. I have found something on statements so I'll keep reading. Any other input will be appreciated.
  20. MaxStudio

    Loops!

    Is it possible to do a loop in vectorscript? I want to create a function that loops 'x' amount of times. 'x' will be a REAL variable input by the user.
  21. Hey Pat is there anyway to have more than 3 input fields in a dialog box? The PtDialog only allows 2 for x,y coordinates. The PtDialog3d only allows 3 for x,y,z coordinates. The RealDialog only allows for 1 variable? Is there a way to set the number of input fields in a dialog box? I have more variables than 3 and do not want to have multiple dialog boxes popping up.
×
×
  • Create New...