@robertWan
v8 is very old, and unsupported by many newer extensions, but CofG should work with it...
It appears the '.round()' function isn't working...
I don't have that version installed to test it...
I can't find an earlier version without the round code in it...
You could try editing the RB file with Notepad++ so the
lines#379 to #390, which read
dp=4
volume=0
###
### convert it to units matching density...
while volume == 0
volume=(vol * 0.000016387064).round(dp) if @units=~/\/m3/
volume=(vol * 16.387064).round(dp) if @units=~/\/cm3/
volume=(vol * 0.000021433471).round(dp) if @units=~/\/yd3/
volume=(vol * 0.000578703704).round(dp) if @units=~/\/ft3/
dp+=1
end
dp-=1
becomes this edited version to avoid any arguments for the round method.
#dp=4
#volume=0
###
### convert it to units matching density...
#while volume == 0
volume=(vol * 0.000016387064).round if @units=~/\/m3/
volume=(vol * 16.387064).round if @units=~/\/cm3/
volume=(vol * 0.000021433471).round if @units=~/\/yd3/
volume=(vol * 0.000578703704).round if @units=~/\/ft3/
#dp+=1
#end
#dp-=1
restart SketchUp and see if that helps...