Script Error
All  1-6  7-9

Previous
Next
 From:  大道刀 (SUIYAN)
4669.7 In reply to 4669.6 
HI Michael
Like This

因为我在老旧电脑中仍需要使用支持32位系统的V3。CurveLengthBeingDrawn快捷键指令使用步骤有些复杂,容易与下一个操作指令重合,我想直接显示曲线长度信息。(Because I still need to use V3 that supports 32-bit systems on my old computer. The steps for using the CurveLongBeingDrawn shortcut command are somewhat complicated and can easily overlap with the next operation command. I want to directly display the curve length information.)
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4669.8 In reply to 4669.7 
Hi SUIYAN, try setting this up on a shortcut key:

script:var curves = moi.geometryDatabase.getSelectedObjects().getCurves(); if ( curves.length == 1 ) { var crv = curves.item(0); var len = crv.getLength(); moi.ui.alert( moi.ui.formatNumber( len ) ); }

That should pop up a message with the length of the selected curve and it should work on V3.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  大道刀 (SUIYAN)
4669.9 In reply to 4669.8 
Thanks Michael
我已将它作为脚本添加到V3中,并结合PointCoordinates、CVolume等脚本,完成了对v4 info——properties功能的大致替代效果。(I have added it as a script to V3 and combined it with scripts such as PointCoordinates and CVolume to achieve a rough replacement effect on the v4 info properties function.)






Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-6  7-9