cubit.subtract

Use this forum to share journal files/scripts.

cubit.subtract

Postby paul » Thu Jun 28, 2018 7:19 am

I cannot figure out how to use the command cubit.subtract. I always get a message error such as :
return _cubit.subtract(*args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'subtract'.
At the beginning I wanted to do :
subtract body 1 from body 2 imprint keep
in order to get the numbers of the generated volumes
but even cubit.subtract(1,2) generates an error
Thank you
paul
 
Posts: 2
Joined: Wed Jun 06, 2018 2:04 am

Re: cubit.subtract

Postby csimsoft Moderator » Wed Jul 11, 2018 8:44 am

You could use cubit.cmd() in your script like this:

cubit.cmd('subtract body 2 from body 1 imprint keep')
csimsoft
csimsoft Moderator
 
Posts: 296
Joined: Tue Feb 14, 2012 5:59 pm
Location: American Fork, UT


Return to Journal Files/Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Search / Mark

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 83 on Tue Nov 13, 2018 11:44 am

Users browsing this forum: No registered users and 1 guest