Notifications
Clear all

[Closed] Problem with Skin Utilities

Hi

I am trying to write a batch script for importing skin data from mesh.

I want to use the skinUtils.ImportSkinDataNoDialog for Max 8

I have my items selected, one is a mesh with a skin modifier, the other the skindata mesh.

but when I try this:

skinutils.importskindatanodialog matchbyname:true removeTargetPrefix:false removeTargetSuffix:false removeSourcePrefix:false removeSourceSuffix:false threshold:1.0 interpolationType:0

I get this:

– Argument count error: ImportSkinDataNoDialog wanted 7, got 0

Anyone know why?

thanks

A

2 Replies

I think you should call that method this way:

skinUtils.importSkinDataNoDialog true false false false false 1.0 0

HalfVector.

That seemed to work. thanks

A