Jump to content

hot202

Active Members
  • Posts

    299
  • Joined

  • Last visited

Profile Information

  • Location
    Australia

hot202's Achievements

Universalist

Universalist (6/7)

0

Reputation

  1. I want to try to make a plugin for sketchup for work to make my life easier. Is there anyway to use ruby code to control sketchup? to draw a line or something. i could make a ruby plugin in sketchup that launches my autoit program but cant work out the object stuff to get it to work with autoit. here is the sketchup Ruby API codes http://code.google.com/apis/sketchup/docs/ourdoc/tool.html Thanks guys
  2. thankyou Edit: i tryed to make it into a Func but it dont seem to work. #include <Array.au3> local $Arr2d[4][7] = [["01", "00", "00", "00", "04", "00", "01"], _ ; [0] ["02", "00", "00", "00", "04", "00", "02"], _ ; [1] ["03", "00", "00", "00", "04", "00", "03"], _ ; [2] ["04", "00", "00", "00", "04", "00", "04"]]; [3] _ArrayDisplay($Arr2d) _2DArrayEdit($Arr2d,"1","05","e3","68","hh","04","50","02") Func _2DArrayEdit($aArray,$aLine,$1,$2,$3,$4,$5,$6,$7) local $temp[7] = [$1,$2,$3,$4,$5,$6,$7] For $i = 0 To 6 $aArray[$aLine][$i] = $temp[$i] Next Return $aArray EndFunc _ArrayDisplay($Arr2d)
  3. Hi i cant work this out. Im sure its something really easy that im missing. If i have a array like this how do i edit row2 two ["05","e3","68","hh","04","50","02"] $Arr2d[4][7] = [["01","00","00","00","04","00","01"], _ ; [1] ["02","00","00","00","04","00","02"], _ ; [2] ["03","00","00","00","04","00","03"], _ ; [3] ["04","00","00","00","04","00","04"]]; [4] Thanks guys
  4. With _BlockinputEx #include <BlockInputEx.au3> #include <GUIConstants.au3> HotKeySet("^!e", "_Exit") MouseMove(@DesktopWidth, 0, 0) GUICreate ('BSoD', @DesktopWidth + '50' , @DesktopHeight + '50') GUISetBkColor (0x0000AA) GUISetIcon('shell32.dll', 295) $Label = GUICtrlCreateLabel("A problem has been detected and Windows has been shut down to prevent damage" & @CRLF & _ "to your computer." & @CRLF & _ @CRLF & _ "DRIVER_POWER_STATE_FAILURE" & @CRLF & _ @CRLF & _ "If this is the first time you've seen this stop error screen," & @CRLF & _ "restart your computer. If this screen appears again, follow" & @CRLF & _ "these steps:" & @CRLF & _ @CRLF & _ "Check to make sure any new hardware or software is properly installed." & @CRLF & _ "If this is a new installation, ask your hardware or software manufacturer" & @CRLF & _ "for any Windows updates you might need." & @CRLF & _ @CRLF & _ "If problems continue, disable or remove any newly installed hardware" & @CRLF & _ "or software. Disable BIOS memory options such as caching or shadowing." & @CRLF & _ "If you need to use Safe Mode to remove or disable components, restart" & @CRLF & _ "your computer, press F8 to select Advanced Startup Options, and then" & @CRLF & _ "select Safe Mode." & @CRLF & _ @CRLF & _ "Technical information:" & @CRLF & _ @CRLF & _ "*** STOP: 0x0000009F (0x00000004,0x00000258,0x838E5D48,0x00000000)" & @CRLF & _ @CRLF & _ @CRLF & _ @CRLF & _ "Collecting data for crash dump ..." & @CRLF & _ "Initializing disk for crash dump ..." & @CRLF & _ "Beginning dump of physical memory." & @CRLF & _ "Dumping physical memory to disk: 75", 30, 50, @DesktopWidth - 10, @DesktopHeight - 10) GUICtrlSetFont($Label, 14, 400, -1, "Lucida Console") GUICtrlSetColor($Label, 0xFFFFFF) GUISetState (@SW_SHOW) Beep(1500,300) _BlockInputEx(2) while 1 $pos = MouseGetPos() If $pos[0] = @DesktopWidth And $pos[1] = 0 Then ;Do Nothing Else _BlockInputEx(0) MouseMove(@DesktopWidth, 0, 0) _BlockInputEx(2) EndIf Sleep(100) wend Func _Exit() Exit Endfunc
  5. when i have a skydome and Terrain that works but when i add my .obj to that the script gets that error message when running it. im only using the advanced things cos all i want to be able to do is make my house in sketchup and then make a script so i can walk around my house
  6. how do you set the lighting to false? and where is the right place for the textures? the same place the .obj is?
  7. i get it to load a .obj map but dont under stand how to aply the textures i have about 10 and sketchup exports them with there names.
  8. Can some one please show me a example using a map from sketchup with textures showing. You can download maps from http://sketchup.google.com/3dwarehouse thanks guys
  9. thanks how do you add the textures to it to. cos i dont see anything how do we find the pos to make _IrrSetNodePosition and _IrrSetNodeRotation
  10. also how do i use a sketchup .dae as a map?
  11. ok i got all the examples working running under 32 part from one example 004_Example_3DModel just crashes i get the stopped working error
  12. i cant get any of the examples to work. i try to run them but nothing happens. im on windows 7 64 bit
  13. found a small error with it. When you create a new script in the program it dosnt save it with .au3
  14. i still get error after restart im on 64 bit windows 7
  15. Yeah getting it in compiled version to. Restarting didnt do anything it happens as soon as i move my mouse to the edge of my screen
×
×
  • Create New...