Search:

Type: Posts; User: marcus_civis

Page 1 of 16 1 2 3 4

Search: Search took 0.53 seconds.

  1. Hi Eric, Try this code: ...

    Hi Eric,

    Try this code:

    [VarDef,keyOnMouseDown,[IGet,preferences:utilities:viewkeyboardstatus]]

    [Sleep,0.001,
    [If,SleepResult==4,//waits for keypress
    [VarSet,keyOnMouseDown,...
  2. Hi exavi, One way you could do it is to have a...

    Hi exavi,

    One way you could do it is to have a blank project that you load in whenever you want to clear ZBrush of all tools. (Textures and alphas won't be cleared.) In order to avoid the dialog...
  3. I'm afraid there's currently no way to get rid of...

    I'm afraid there's currently no way to get rid of those dialogs using zscript. The [IKeyPress,13] solution, which simulates pressing the Enter key, will only work when pressing Enter gives the...
  4. Replies
    57
    Views
    51,513

    The plugin was designed for ZBrush 2 and won't...

    The plugin was designed for ZBrush 2 and won't work with the latest versions.
  5. Replies
    4
    Views
    323

    You can use: ...

    You can use:

    [IKeyPress,512,[CanvasClick,-4096,-4096,-4000,-4000]]

    The IKeyPress,512 simulates holding the CTRL key, and the CanvasClick simulates a drag. The coordinates are off the canvas so...
  6. Replies
    2
    Views
    146

    You can change the hotkey in the usual way by...

    You can change the hotkey in the usual way by Ctrl+Alt+clicking on the color selector on the left side of the UI and then pressing the key you want to use. Or if you want to edit the...
  7. Replies
    32
    Views
    3,274

    Hi, This code should do it: ...

    Hi,

    This code should do it:


    [IButton,RenameAllSubTools,"Rename all subtools",
    [VarSet,activeST,[SubToolGetActiveIndex]]
    [Loop,[SubToolGetCount],
    [SubToolSelect,[Val,n]]...
  8. Replies
    4
    Views
    356

    Not completely invisible, no. But you can use...

    Not completely invisible, no. But you can use just spaces for the button name so that there's no name to show. This code is the spacer button from the Multi Map Exporter plugin. It's just above the...
  9. Replies
    25
    Views
    9,752

    You can use the FBX plugin to import an FBX file....

    You can use the FBX plugin to import an FBX file. If there's vertex color then it will be imported as polypaint.
  10. Replies
    4
    Views
    356

    You can only do it by creating a disabled button...

    You can only do it by creating a disabled button or switch of the size you need.
  11. Replies
    11
    Views
    453

    I don't know why that should be giving problems....

    I don't know why that should be giving problems. It may be the particular way you are implementing the code. You'll have to experiment to find out what is happening. That's the joy of zscripting! :)
  12. Replies
    11
    Views
    453

    1. The simplest way to create a new tool is to...

    1. The simplest way to create a new tool is to load one from disk. That way you have control over it and no problems with naming. Just save out the Polymesh3D Star tool as a ZTL. I use this method...
  13. Replies
    11
    Views
    453

    Sorry for moving your thread, that was my fault....

    Sorry for moving your thread, that was my fault. I misunderstood what you were asking.

    All you need to do to script OBJ import is to use [FileNameSetNext] to specify the file you want to import,...
  14. Replies
    2
    Views
    280

    That error can occur when there are characters...

    That error can occur when there are characters other than letters or numbers in the subtool names. Try renaming the subtools. Hyphens (-), underscores (_) and hashes (#) are OK.
  15. Eric, I can't think why you should be having...

    Eric,

    I can't think why you should be having problems. If you'd like me to take a look at your code, let me know.
  16. Hi Eric, I've not had problems with it. What OS...

    Hi Eric,
    I've not had problems with it. What OS are you on?
  17. I'm afraid it's not possible. You'll have to use...

    I'm afraid it's not possible. You'll have to use [ISwitch] to create on/off settings that your button responds to.
  18. Replies
    2
    Views
    270

    The values you should use are X = 1, Y = 2, Z =...

    The values you should use are X = 1, Y = 2, Z = 4. You can have combinations of axes which is why you are getting the values 3 (X and Y both on) and 7 (X,Y and Z on).

    However, if you use...
  19. Replies
    63
    Views
    4,374

    Great! :)

    Great! :)
  20. Replies
    63
    Views
    4,374

    Urgh, sorry, I misunderstood what you were...

    Urgh, sorry, I misunderstood what you were asking.

    You can change any backslashes to forward slashes like this:

    [IButton,TestPath,,

    [VarSet,newPath,""]
    ...
  21. Replies
    63
    Views
    4,374

    I've not looked at your video yet but in the...

    I've not looked at your video yet but in the meantime - ZBrush will automatically expand any file path that uses the special form:

    "ZBRUSH_ZSTARTUP/ZPlugs64/MyPluginData/ZFileUtils.lib"

    where...
  22. Replies
    10
    Views
    1,012

    Yes, I just meant that if you're hard-coding the...

    Yes, I just meant that if you're hard-coding the paths to not have a mix of forward slashes and backslashes. ZBrush normally doesn't mind but I've no idea if Win 10 behaves differently.
  23. Replies
    10
    Views
    1,012

    I've no idea why this should crash Windows 10 but...

    I've no idea why this should crash Windows 10 but you could try commenting out code until you isolate the crash. Also, you don't need to import the file from ZRemesher - it will do it automatically....
  24. Replies
    63
    Views
    4,374

    I'm sorry, I've not had much time to look at this...

    I'm sorry, I've not had much time to look at this but if you are trying to load plugins from another plugin (or macro or zscript) then you will run into problems. ZBrush doesn't allow more than one...
  25. Replies
    63
    Views
    4,374

    Yes, there is a limit to the number of variables....

    Yes, there is a limit to the number of variables. I can't remember what it is - something like 1024 or 2048. You may be able to get around the limit by using a list variable:

    [VarDef,...
Results 1 to 25 of 400
Page 1 of 16 1 2 3 4