Summary

Title:Generate Groom button
Category:Crash/Critical
Status:Open
Posted By:MehdZangenehBar ( Mehd Zangeneh Bar )
Date Created:8 September 2017

Problem

Description:

I'm using trial version, When I click on "Generate Groom" button, maxscript editor will pops up and points me to a line from ornatrix macro file. and listener shows me this error:

-- Argument count error: OxGenerateGroom wanted 2, got 1 <<

Steps to Reproduce:

select an object and click on "Generate Groom" button.

 

Attached Files:
Image 1

Hello,

I can't reproduce this, it's working fine for me. What version of Ornatrix are you using?

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

Windows 7

Max 2013 64-bit

Ornatrix 5.2.1.11996

Can you please try with the latest stable version? maybe this problem has been solved already.

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

upgraded to 5.5.2.12160 and problem still exist.

It's very clear that OxGenerateGroom function has 2 argument, but in the macro file just passed one argument. I also guess that secand argument type is a string.

The Generate Groom dialog is available only starting with Max 2015, which has Qt. For earlier versions of Max you need to use this command directly in MaxScript listener, once you select the object:

OxGenerateGroom $ filePath

I've now fixed the error message to be more descriptive for the next build of Ornatrix and we will also update the docs. Thank you for bringing this up.

Marsel Khadiyev (Software Developer, EPHERE Inc.)