Unhide layers in max export

This commit is contained in:
kaetemi 2015-01-13 13:21:56 +01:00
parent 73b1c4b0e9
commit 982e720f1e
25 changed files with 160 additions and 8 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -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 =
( (

View file

@ -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 =
( (

View file

@ -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

View file

@ -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 =
( (

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 ()

View file

@ -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")

View file

@ -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 =
( (

View file

@ -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

View file

@ -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 =
( (

View file

@ -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

View file

@ -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

View file

@ -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 =
( (

View file

@ -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

View file

@ -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 =
( (

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 =
( (