Announcement

Collapse
No announcement yet.

Log window - clickable messages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Log window - clickable messages

    (where appropriate)

    For example, clicking any of these which i've mocked up as the default blue hyperlink in html, would take me directly to the map in the material editor.

    Click image for larger version

Name:	vrayLogLinks.jpg
Views:	1
Size:	78.1 KB
ID:	876719

  • #2
    Yes yes! PS. To get you through til then run this script and it will load raytrace materials in your material editor.

    Code:
    (
    	deps = #()
    	raytraceMaps = getClassInstances Raytrace
    	
    	for r in raytraceMaps do (
    		for d in (refs.dependents r) where isKindOf d Material do
    			append deps d
    		
    	)
    	
    	for i = 1 to 24 do (
    		medit.putMtlToMtlEditor deps[i] i
    	)
    )
    The code will put all maps of raytrace type or any materials that are dependent on a raytrace texture, in the material editor. It can only load up to 24 at a time. So if it fills up, just clear some, and rerun the script. Enjyo.
    Colin Senner

    Comment


    • #3
      Thanks for the suggestion; I'll make a note for it, but it's rather complicated to implement...

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #4
        Hi Colin, i get this error when running your script:

        -- Syntax error: at ), expected <factor>
        -- In line: )


        do you know how to fix it?¿

        Thanks!!

        Comment

        Working...
        X