<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Slider move in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164470#M21617</link>
    <description>Hi everyOne,&lt;BR /&gt;&lt;BR /&gt;I have made script which copy all target distance of main camera&lt;BR /&gt;to free camera.Keys made on every frame.&lt;BR /&gt;&lt;BR /&gt;But i try to make the key only made on main camere's key.&lt;BR /&gt;I make an array of all position key of main camera.&lt;BR /&gt;But cant success to move slider on that array's value.&lt;BR /&gt;&lt;BR /&gt;animate on&lt;BR /&gt; (&lt;BR /&gt; for i = animationRange.start to animationRange.end do&lt;BR /&gt; (&lt;BR /&gt; select freeCam&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; at time i $.Target_Distance = $Camera002.targetDistance &lt;BR /&gt; $.fov  = $Camera002.fov&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt;How can i move slider at main camera's key and made free camera's key?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanx</description>
    <pubDate>Wed, 18 Aug 2010 04:37:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-08-18T04:37:18Z</dc:date>
    <item>
      <title>Slider move</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164465#M21612</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have made an array of all position controller keys of&lt;BR /&gt;main camera.&lt;BR /&gt;Now i try to slider move on each key and copy targetdistace&lt;BR /&gt;of main camera to free camera.But cant sucess to move slider.&lt;BR /&gt;&lt;BR /&gt;How can i move slider in forloop on each keys ?&lt;BR /&gt;&lt;BR /&gt;Thanx</description>
      <pubDate>Sat, 14 Aug 2010 06:00:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164465#M21612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-14T06:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Slider move</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164466#M21613</link>
      <description>you can either use the global variable sliderTime or currentTime, or simply us a context:&lt;BR /&gt;&lt;PRE&gt;sliderTime=5&lt;BR /&gt;with animate on (your code here)&lt;/PRE&gt;&lt;BR /&gt;&lt;PRE&gt;at time 5 do with animate on (your code here)&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Aug 2010 07:18:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164466#M21613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-14T07:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Slider move</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164467#M21614</link>
      <description>Thank you its works&lt;BR /&gt;&lt;BR /&gt;I have save all value of  Camera002 in myTransform.&lt;BR /&gt;Assign this value to free camera which is made by script.&lt;BR /&gt;&lt;BR /&gt;myTransform =$Camera002.Transform &lt;BR /&gt;&lt;BR /&gt;In my script everything works fine.&lt;BR /&gt;No error.&lt;BR /&gt;&lt;BR /&gt;When i add this script to (on came picked obj do(...))&lt;BR /&gt;Its give me error on line myTransform =$cam.Transform &lt;BR /&gt;"MAXScript Rollout Handler Exception: -- Unknown property: "transform" in undefined &amp;lt;&amp;lt;"&lt;BR /&gt;&lt;BR /&gt;Find the script below...&lt;BR /&gt;&lt;BR /&gt;Thanx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rollout pick_box_test "Pick Box Test"&lt;BR /&gt;&lt;BR /&gt;(&lt;BR /&gt;&lt;BR /&gt; --filter all objects of class Box:&lt;BR /&gt;&lt;BR /&gt; fn box_filt obj = classof obj == Targetcamera&lt;BR /&gt;&lt;BR /&gt; --Pickbutton to select a Box from the scene&lt;BR /&gt;&lt;BR /&gt;pickbutton chooseit "Select Camera" width:140 filter:box_filt&lt;BR /&gt;&lt;BR /&gt; --If the user picked an object, then&lt;BR /&gt;&lt;BR /&gt; on chooseit picked obj do&lt;BR /&gt;&lt;BR /&gt; ( &lt;BR /&gt;&lt;BR /&gt; --see if the user did not cancel the picking...&lt;BR /&gt;&lt;BR /&gt;  if obj != undefined do&lt;BR /&gt;&lt;BR /&gt;  (&lt;BR /&gt;&lt;BR /&gt; --if he did not, make the box's wireframe red:&lt;BR /&gt;&lt;BR /&gt; --obj.wirecolor = red&lt;BR /&gt;&lt;BR /&gt; --and display the name of the object on the button:&lt;BR /&gt;&lt;BR /&gt; chooseit.text = obj.name&lt;BR /&gt; cam = chooseit.text&lt;BR /&gt; print cam&lt;BR /&gt; ---------------------------------*******************************&lt;BR /&gt; freecam = Freecamera ()---Create free camera&lt;BR /&gt;&lt;BR /&gt; myTransform =$cam.Transform &lt;BR /&gt;&lt;BR /&gt; freecam.transform = myTransform  --align freecamera to main camera&lt;BR /&gt;&lt;BR /&gt; select freecam&lt;BR /&gt;&lt;BR /&gt; $.Target_Distance = $cam.targetDistance&lt;BR /&gt;&lt;BR /&gt; $.parent =$cam --link free camera to main camera&lt;BR /&gt;&lt;BR /&gt; posKey = $cam.pos.controller.keys --make an array of all keys&lt;BR /&gt; print posKey&lt;BR /&gt; --$Camera01.pos.controller.keys--returns array of position keys&lt;BR /&gt;&lt;BR /&gt; animate on&lt;BR /&gt; (&lt;BR /&gt; for i = 0 to 500 do&lt;BR /&gt; (&lt;BR /&gt; select freecam&lt;BR /&gt; at time i $.Target_Distance = $cam.targetDistance&lt;BR /&gt; --m= posKey&lt;I&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt;  )&lt;BR /&gt;&lt;BR /&gt; )--end on&lt;BR /&gt;&lt;BR /&gt; )--end rollout&lt;BR /&gt;&lt;BR /&gt;createDialog pick_box_test&lt;/I&gt;</description>
      <pubDate>Mon, 16 Aug 2010 06:03:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164467#M21614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-16T06:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Slider move</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164468#M21615</link>
      <description>$cam refers to an actual object in the scene named "cam".&lt;BR /&gt;&lt;BR /&gt;You need to use the variable obj, which is the node returned by the pickbutton.</description>
      <pubDate>Mon, 16 Aug 2010 06:54:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164468#M21615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-16T06:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Slider move</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164469#M21616</link>
      <description>Thank you very much</description>
      <pubDate>Mon, 16 Aug 2010 16:17:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164469#M21616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-16T16:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Slider move</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164470#M21617</link>
      <description>Hi everyOne,&lt;BR /&gt;&lt;BR /&gt;I have made script which copy all target distance of main camera&lt;BR /&gt;to free camera.Keys made on every frame.&lt;BR /&gt;&lt;BR /&gt;But i try to make the key only made on main camere's key.&lt;BR /&gt;I make an array of all position key of main camera.&lt;BR /&gt;But cant success to move slider on that array's value.&lt;BR /&gt;&lt;BR /&gt;animate on&lt;BR /&gt; (&lt;BR /&gt; for i = animationRange.start to animationRange.end do&lt;BR /&gt; (&lt;BR /&gt; select freeCam&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; at time i $.Target_Distance = $Camera002.targetDistance &lt;BR /&gt; $.fov  = $Camera002.fov&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt; )&lt;BR /&gt;&lt;BR /&gt;How can i move slider at main camera's key and made free camera's key?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanx</description>
      <pubDate>Wed, 18 Aug 2010 04:37:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164470#M21617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-18T04:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Slider move</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164471#M21618</link>
      <description>&lt;PRE&gt;keys = $Camera002.fov.controller.keys&lt;BR /&gt;frames = for k in keys collect k.time&lt;BR /&gt;for t in frames do&lt;BR /&gt;  at time t animate on&lt;BR /&gt;    $.fov = $Camera002.fov&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Aug 2010 11:47:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164471#M21618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-18T11:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Slider move</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164472#M21619</link>
      <description>Thank you so much</description>
      <pubDate>Fri, 20 Aug 2010 05:29:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/slider-move/m-p/4164472#M21619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-20T05:29:57Z</dc:date>
    </item>
  </channel>
</rss>

