Unhide layers in max export

--HG--
branch : develop
hg/feature/cef3
kaetemi 10 years ago
parent bc78734602
commit 1ab170b7d8

@ -49,6 +49,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true tagThisFile = true
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
-- Unhide -- Unhide

@ -54,6 +54,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true tagThisFile = true
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
-- Unhide -- Unhide

@ -194,6 +194,7 @@ fn runNelMaxExportSub inputMaxFile retryCount =
tagThisFile = false tagThisFile = false
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
-- Unhide -- Unhide

@ -39,6 +39,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true tagThisFile = true
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
-- Unhide -- Unhide

@ -13,6 +13,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (

@ -6,7 +6,7 @@
# #
# \file 1_export.py # \file 1_export.py
# \brief Export anim # \brief Export anim
# \date 2011-09-21-20-51-GMT # \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Export anim # Export anim

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (

@ -6,7 +6,7 @@
# #
# \file 1_export.py # \file 1_export.py
# \brief Export clodbank # \brief Export clodbank
# \date 2011-09-21-20-51-GMT # \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Export clodbank # Export clodbank

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (
@ -115,6 +125,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true tagThisFile = true
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
-- Unhide -- Unhide

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (
@ -120,6 +130,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true tagThisFile = true
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
-- Unhide -- Unhide

@ -17,6 +17,16 @@ NEL3D_APPDATA_IGNAME = 1423062564 -- string : name of the Instance Group
tagThisFile = true tagThisFile = true
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (
@ -307,6 +317,10 @@ fn buildTransitionMatrixObj mt transitionZone cellSize =
-- Export instance groups from the current loaded zone -- Export instance groups from the current loaded zone
fn exportInstanceGroupFromZone inputFile outputPath igName transitionZone cellSize = fn exportInstanceGroupFromZone inputFile outputPath igName transitionZone cellSize =
( (
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide -- Unhide
max unhide all max unhide all
@ -501,6 +515,7 @@ try
objXRefMgr.UpdateAllRecords() objXRefMgr.UpdateAllRecords()
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
DeleteDebugMarkersFn () DeleteDebugMarkersFn ()
@ -648,6 +663,7 @@ try
objXRefMgr.UpdateAllRecords() objXRefMgr.UpdateAllRecords()
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
DeleteDebugMarkersFn () DeleteDebugMarkersFn ()
@ -863,6 +879,7 @@ try
objXRefMgr.UpdateAllRecords() objXRefMgr.UpdateAllRecords()
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
DeleteDebugMarkersFn () DeleteDebugMarkersFn ()

@ -6,7 +6,7 @@
# #
# \file 1_export.py # \file 1_export.py
# \brief Export pacs_prim # \brief Export pacs_prim
# \date 2013-07-24-14-21-GMT # \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Export pacs_prim # Export pacs_prim
@ -130,6 +130,13 @@ if MaxAvailable:
# Remove bad file from previous script version
listPath = ExportBuildDirectory + "/" + PacsPrimExportDirectory + "/landscape_col_prim_pacs_list.txt"
if os.path.isfile(listPath):
os.remove(listPath)
log.close() log.close()
if os.path.isfile("log.log"): if os.path.isfile("log.log"):
os.remove("log.log") os.remove("log.log")

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (

@ -6,7 +6,7 @@
# #
# \file 1_export.py # \file 1_export.py
# \brief Export rbank # \brief Export rbank
# \date 2011-09-21-20-51-GMT # \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Export rbank # Export rbank

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (
@ -260,6 +270,7 @@ fn runNelMaxExportSub inputMaxFile retryCount =
tagThisFile = false tagThisFile = false
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
-- Unhide -- Unhide

@ -6,7 +6,7 @@
# #
# \file 1_export.py # \file 1_export.py
# \brief Export skel # \brief Export skel
# \date 2011-09-28-07-42-GMT # \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Export skel # Export skel

@ -13,6 +13,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (

@ -6,7 +6,7 @@
# #
# \file 1_export.py # \file 1_export.py
# \brief Export swt # \brief Export swt
# \date 2011-09-28-07-42-GMT # \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Export swt # Export swt

@ -13,6 +13,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (

@ -6,7 +6,7 @@
# #
# \file 1_export.py # \file 1_export.py
# \brief Export veget # \brief Export veget
# \date 2011-09-21-20-51-GMT # \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Export veget # Export veget

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (
@ -105,6 +115,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true tagThisFile = true
-- Unhide category -- Unhide category
unhidelayers()
unhidecategory() unhidecategory()
-- Unhide -- Unhide

@ -6,7 +6,7 @@
# #
# \file 1_export.py # \file 1_export.py
# \brief Export zone # \brief Export zone
# \date 2011-09-28-07-42-GMT # \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi) # \author Jan Boon (Kaetemi)
# Python port of game data build pipeline. # Python port of game data build pipeline.
# Export zone # Export zone

@ -13,6 +13,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category -- Unhide category
fn unhidecategory = fn unhidecategory =
( (

Loading…
Cancel
Save