[Office] Excel 拡大縮小VBC


excel VBC 拡大縮小マクロ


'------------------------------------------
Option Explicit

    Public Flag As Boolean

Sub 拡大縮小()
    With ActiveSheet.Shapes(Application.Caller)
        .ZOrder msoBringToFront
        If Flag Then
              .ScaleWidth 0.3, msoTrue
              .ScaleHeight 0.3, msoTrue
              .ZOrder msoBringToFront
        Else
              .ScaleWidth 1, msoTrue
              .ScaleHeight 1, msoTrue
        End If
    End With
    Flag = Not Flag

End Sub

'---------------------------------

参考URL:
http://oshiete.goo.ne.jp/qa/6369120.html

[Office] Excel2010 Tip


http://excel2010.life.coocan.jp/index/indexcell_row_ins.html

[TP] MAXScript Auto-load Script Error :Solution


-- Error occurred during fileIn in <ReadonlyTextFileStream:0x0000eb68>; line number: 335
>> MAXScript Auto-load Script Error - C:\Program Files\Autodesk\3ds Max 2016\scripts\startup\TP_Startup.ms Exception:
-- Type error: Call needs function or class, got: undefined <<


Solution:
[Include]
cebas plugins=C:\Users\Public\Documents\cebas\3dsMax2016 _x64\cebas_plugin.ini

This is supposed to be in the
C:\Users\~USER~\AppData\Local\Autodesk\3dsMax\2016 - 64bit\ENU\Plugin.UserSettings.ini



参考HP:
http://i0n1c50ft.blogspot.jp/2014/06/cebas-thinking-particles-fr35-se.html

[TP] MAXScript Auto-load Script Error :Solution


-- Error occurred during fileIn in <ReadonlyTextFileStream:0x0000eb68>; line number: 335
>> MAXScript Auto-load Script Error - C:\Program Files\Autodesk\3ds Max 2016\scripts\startup\TP_Startup.ms Exception:
-- Type error: Call needs function or class, got: undefined <<


Solution:
[Include]
cebas plugins=C:\Users\Public\Documents\cebas\3dsMax2016 _x64\cebas_plugin.ini

This is supposed to be in the
C:\Users\~USER~\AppData\Local\Autodesk\3dsMax\2016 - 64bit\ENU\Plugin.UserSettings.ini

[Nuke] リレーションシップの表示/非表示


Alt + e

[Reference] VFX Camera Database


http://vfxcamdb.com/

[概論] 2つのベクトルのなす角度


■参考
http://qiita.com/Hoshi_7/items/d04936883ff3eb1eed2d
http://yamagishi-2bit.blogspot.jp/2014/09/maxscript-9-point3.html
http://www.sousakuba.com/Programming/gs_two_vector_angle.html

ex). x, y, 座標系の絶対値のみで作例。

p1 = $Point001.pos - $Point002.pos
p1 = [(abs(p1.x)), (abs(p1.y)), 0.0]
p2 = [1.0, 0.0, 0.0]

theta = (dot (normalize p1) (normalize p2))
deg = acos theta