<?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: how to get viewport color to match layer color after applying material in 3ds Max Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-forum/how-to-get-viewport-color-to-match-layer-color-after-applying/m-p/9760087#M21684</link>
    <description>&lt;P&gt;that's exactly what i needed, thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2020 00:45:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-22T00:45:14Z</dc:date>
    <item>
      <title>how to get viewport color to match layer color after applying material</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/how-to-get-viewport-color-to-match-layer-color-after-applying/m-p/9758884#M21681</link>
      <description>&lt;P&gt;hi, i'm new to 3dsmax and just made a model with several layers and the viewport shows the color of the layer the object is in, which is what i want&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then i started applying materials to some objects an the object in the viewport color changed to the material&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but now i want it back to the layer color, but i want to keep the material for rendering&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;i can't figure out how to get the viewport to display layer color again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 12:38:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/how-to-get-viewport-color-to-match-layer-color-after-applying/m-p/9758884#M21681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-21T12:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to get viewport color to match layer color after applying material</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/how-to-get-viewport-color-to-match-layer-color-after-applying/m-p/9759268#M21682</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There may be some confusion about terminology here, but I will address what I think you mean which is how to toggle between the display in the viewport of an object's color and it's material once it has an assigned material.&amp;nbsp; There is a toggle to do this in the display menu:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="object Color vs Material color.png" style="width: 551px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/821797i38E7587E430F9AB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="object Color vs Material color.png" alt="object Color vs Material color.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The toggle is for the entire scene and not just the selected object.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding terminology, Layer Explorer shows in the Color column, the color of the individual objects in a layer as well as the layer color.&amp;nbsp; These can be set separately.&amp;nbsp; Hope this is clear.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 15:37:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/how-to-get-viewport-color-to-match-layer-color-after-applying/m-p/9759268#M21682</guid>
      <dc:creator>10DSpace</dc:creator>
      <dc:date>2020-09-21T15:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to get viewport color to match layer color after applying material</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/how-to-get-viewport-color-to-match-layer-color-after-applying/m-p/9759797#M21683</link>
      <description>&lt;P&gt;Hello~ This Script May Help you&lt;/P&gt;&lt;P&gt;Copy The code Below into Text then Change the Suffix type to&amp;nbsp; &amp;nbsp; .ms&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(Max Script)&lt;/P&gt;&lt;P&gt;Then Drag it into&amp;nbsp; 3DSMax and Release&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it will display a Dialog named "LayerManager" includ 3 button&lt;/P&gt;&lt;P&gt;1 "DeleteEmptyLayer" Used for Old Version&lt;/P&gt;&lt;P&gt;2 Select the Other Objects in the Same Layer with the Object You're Selecting&lt;/P&gt;&lt;P&gt;if Objects You're Selecting is in&amp;nbsp;two or more Different Layers . They will Select All of them too&lt;/P&gt;&lt;P&gt;3 This is your wanted&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select the Object you want to Turn the Wire Color as LayerColor&lt;/P&gt;&lt;P&gt;Then Click the 3rd Button , Turn is On the Function Will Activate&lt;/P&gt;&lt;P&gt;Of Cause ,&amp;nbsp;&lt;SPAN&gt;to get the Final effect you want ,you need swich the Display Mode&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;to Object Color as the Bro in 2 Level said.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;rollout ET_LayerM "图层管理" width:114 height:70
(
	local T_SelArray = #()
	button DEmptyLayer "删除空图层" pos:[2,2] width:75 height:20 toolTip:"快速清理空图层\n右键:可将清理空图层加入右键菜单图层"
	button SelectLayerByNow "全选图层包含物体" pos:[2,24] width:110 height:20 toolTip:"按当前选择物体全选其所在图层的所有物体"
	checkbutton SwicthColorByLayer "切换图层线框色" pos:[2,46] width:95 height:20 toolTip:"将物体的线框色转为所属图层的颜色\n右键:随机图层线框色"

	on ET_LayerM open do
	(
		T_SelArray = selection as Array
		for i in selection do
		(
			if SwicthColorByLayer.state == on then
			(
				i.colorByLayer = true
				T_SelArray = #()
				append T_SelArray i
			)
			else
			(
				i.colorByLayer = false
				T_SelArray = #()
				append T_SelArray i
			)
		)
	)

	on ET_LayerM close do
	(
		T_SelArray = selection as Array
		for i in T_SelArray do i.colorByLayer = false
	)

	on DEmptyLayer pressed do
	(
		ET_DeleteEmptyLayer()
	)

	on DEmptyLayer rightClick do
	(
		AddItemToQuadMenu (#nonePressed) "Default Viewport Quad" 1 "ET_DEmptyLayer" "ET_Tool" 7
	)

	on SelectLayerByNow pressed do
	(
		if selection != undefined do
		(
			for i in selection do
			(
				local S1 = i.layer.name
				local S2 = LayerManager.getLayerFromName S1
				S2.select on
			)
		)
	)

	on SwicthColorByLayer changed state do
	(
		T_SelArray = #()
		
		for i in selection do
		(
			if SwicthColorByLayer.state == on then
			(
				i.colorByLayer = true
				T_SelArray = #()
				append T_SelArray i
			)
			else
			(
				i.colorByLayer = false
				T_SelArray = #()
				append T_SelArray i
			)
		)
	)

	on SwicthColorByLayer rightclick do 
	(
		for i = 0 to layerManager.count-1 do
		(
			nowLayer = layerManager.getLayer i
			nowLayer.wireColor = color (random 60 240) (random 60 240) (random 60 240)
			nowLayer.backfacecull = true 
		)
	)
)

Createdialog ET_LayerM&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 20:34:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/how-to-get-viewport-color-to-match-layer-color-after-applying/m-p/9759797#M21683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-21T20:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to get viewport color to match layer color after applying material</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/how-to-get-viewport-color-to-match-layer-color-after-applying/m-p/9760087#M21684</link>
      <description>&lt;P&gt;that's exactly what i needed, thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 00:45:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/how-to-get-viewport-color-to-match-layer-color-after-applying/m-p/9760087#M21684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-22T00:45:14Z</dc:date>
    </item>
  </channel>
</rss>

