User contributions
(newest | oldest) View (newer 20 | older 20) (20 | 50 | 100 | 250 | 500)
- 20:00, 24 April 2017 (diff | hist) . . (+808) . . N SmartTime (Created page with " static string SmartTime(int Num_in_ms) { //Nick Pisca 0001d 2015 if (Num_in_ms < 1000) { return "< 1 sec";...") (current)
- 19:59, 24 April 2017 (diff | hist) . . (+1,544) . . N SmartRun (Created page with " static int SmartRun(int Motor_Num, int Num_Steps, int Interval_in_ms, int Forward0_Backward1, int outputBinary) { //Nick Pisca 0001d 2015...") (current)
- 19:59, 24 April 2017 (diff | hist) . . (+1,441) . . N SelectElement3 Values (Created page with "Values to use as selection filter. Role: Values which can be given as filter to Selection.SelectElement2, Selection.SelectElement3, Selection.IndicateOrSelectElement2D or Sele...")
- 19:58, 24 April 2017 (diff | hist) . . (+1,291) . . N SelSurfDup (Created page with " Sub SelSurfDup(SurfArr As Variant) Dim SecArr() ReDim SecArr(0) For X = 0 To UBound(SurfArr) If HasArea(SurfArr(X)) Then Dim CMeas Set CMeas = The...") (current)
- 19:58, 24 April 2017 (diff | hist) . . (+395) . . N SafeArrayDelete MEL (Created page with " //0001D LLC 2016 Nick Pisca (c) //Why? Sometimes deleting 100,000's of objects will crash Maya. This is safer. string $ll[] = `ls -tr "NM_*_*"`; int $ct = size($ll); f...") (current)
- 19:58, 24 April 2017 (diff | hist) . . (+444) . . N Rotate Objects by Concatenation (Created page with " for ($x = 1; $x<91; $x++){ currentTime 1 setKeyframe -breakdown 0 ("nurbsSphere"+$x+".rotate"); currentTime 260 ; setKeyframe -breakdown 0 ("nurbsSphere"+$x+".rotate");...") (current)
- 19:57, 24 April 2017 (diff | hist) . . (+402) . . N Right MEL (Created page with " global proc string Right(string $Input, int $Num) { //Nick Pisca + Ralph Levinson 0001d 2013 //string $Input = "testing"; int $Num = 2; int $Length = size($Input); in...") (current)
- 19:57, 24 April 2017 (diff | hist) . . (+582) . . N RevitVBNETReturnTotalRows (Created page with " Function ReturnTotalRows(ByVal CurCells As Range) As Integer Dim RowCounter As Integer = 1 Dim FileCheck As Boolean = False While RowCounter <...") (current)
- 19:57, 24 April 2017 (diff | hist) . . (+547) . . N RevitVBNETOpenExcel (Created page with " Imports MsExcel = Microsoft.Office.Interop.Excel Partial Class ThisDocument Public Sub OpenExcel() Dim excel As MsExcel.Application = New MsExcel.ApplicationCl...") (current)
- 19:56, 24 April 2017 (diff | hist) . . (+420) . . N ReturnRandomVector (Created page with " global proc vector returnRandomVector(float $Lower, float $Higher) { //Author Nick Pisca 0001d 2009 float $XVal = rand($Lower, $Higher); float $YVal = rand($Lower, $Higher...") (current)
- 19:56, 24 April 2017 (diff | hist) . . (+542) . . N ReturnNVectorCOG (Created page with " global proc vector ReturnNVectorCOG(vector $AllVecs[]) { //Author Nick Pisca 0001d 2010 //$AllVecs[0]=<<0,0,0>>;$AllVecs[1]=<<1,-1,0>>;$AllVecs[2]=<<1,0,0>>;$AllVecs[3]=<...") (current)
- 19:56, 24 April 2017 (diff | hist) . . (+290) . . N ReturnMidPtCoord (Created page with " Function ReturnMidPtCoord(X1 As Double, Y1 As Double, Z1 As Double, X2 As Double, Y2 As Double, Z2 As Double) As Variant Dim FinalPt(2) FinalPt(0) = (X1 + X2) / 2 FinalPt(...") (current)
- 19:56, 24 April 2017 (diff | hist) . . (+534) . . N ReturnMidCurveDist (Created page with " Function ReturnMidCurveDist(CurveObj As Variant) As Double If IsUpdatable(CurveObj) Then Dim TMeas Set TMeas = TheSPAWorkbench.GetMeasurable(CurveObj) Dim TC(...") (current)
- 19:55, 24 April 2017 (diff | hist) . . (+1,256) . . N ReturnFaceCentroid (Created page with " global proc vector ReturnFaceCentroid(string $ObjName, int $FaceNum) { //Author Nick Pisca 0001d 2008 //string $ObjName = "pTorus1"; //string $FaceNum = 30; string $Cu...") (current)
- 19:55, 24 April 2017 (diff | hist) . . (+2,124) . . N ReturnDarkestPath MEL (Created page with " global proc string ReturnDarkestPath(float $U, float $V, float $Rad, int $FanNum, string $SkipStr[], float $SkipRad) { //0001D LLC 2015 Nick Pisca //float $U = 0.896; flo...") (current)
- 19:55, 24 April 2017 (diff | hist) . . (+367) . . N ReturnCOG (Created page with " global proc vector ReturnCOG(vector $V1, vector $V2, vector $V3) { //Author Nick Pisca 0001d 2010 //$V1 = <<0,0,0>>; $V2 = <<1,-1,0>>; $V3 = <<1,0,0>> vector $TempVe...") (current)
- 19:54, 24 April 2017 (diff | hist) . . (+500) . . N ReturnCAValueAS (Created page with " function ReturnCAValue(InputStr) { // ----- Input The Cellular Automata Values HERE: ----- // Main1 = new Array(111, 110, 101, 100, 11, 10, 1, 0); Main2...") (current)
- 19:54, 24 April 2017 (diff | hist) . . (+614) . . N ReturnCAValue (Created page with " global proc int ReturnCAValue(string $InputStr) { // ----- Input The Cellular Automata Values HERE: ----- // int $Main1[7] = {111, 110, 101, 100, 11, 10,...") (current)
- 19:53, 24 April 2017 (diff | hist) . . (+951) . . N ReturnAverageRGBThruPath MEL (Created page with " global proc float ReturnAverageRGBThruPath(float $U1, float $V1, float $U2, float $V2, int $Interval, string $FileName) { //0001D LLC 2015 Nick Pisca //float $U1 = 0.896;...") (current)
- 19:53, 24 April 2017 (diff | hist) . . (+863) . . N ReturnAllObjectsWithinDist (Created page with " Function ReturnAllObjectsWithinDist(CurObj As Variant, ObjSet As HybridBody, WithinDist As Double) As Variant Dim tempArr() ReDim tempArr(0) If IsUpdatable(CurObj) = F...") (current)
(newest | oldest) View (newer 20 | older 20) (20 | 50 | 100 | 250 | 500)