#278496
The assembly was rendering file - I was adding colours etc and doing tests.
Then afew components did not render - they were invisable on the render.

Then it has stopped altogether.

Where should i start to retreive the situuation

the log file is below
********************************
* Maxwell for SolidWorks
* Version: 1.7.0.0
********************************
* Session Log
* Date: 19/08/2008
* Time: 11:57:33.2656250
* File: file://C:\Documents and Settings\Administrator.JJSTEDMA-49998B\Application Data\MaxwellDotNET\Plugins\SolidWorks\Logs\session_log_11_57_33_AM___8_19_2008.txt
********************************
* line 1: ConnectToSW, _notify, running on SolidWorks 2008 SP0.0
* line 2: Initialize, _info, initializing Maxwell Database, using directory: 'C:\Documents and Settings\Administrator.JJSTEDMA-49998B\Application Data\MaxwellDotNET\SDK\DB'
* line 3: ConnectToSW, _info, to learn about using alternate database locations, see file://C:\Documents and Settings\Administrator.JJSTEDMA-49998B\Application Data\MaxwellDotNET\SDK\Config\readme.txt
* line 4: mxVersionChecker.CheckForUpdate(), _notify, checking for plugin updates...
* line 5: mxVersionChecker.CheckForUpdate(), _notify, the installed plugin version (1.7.0.0) is up-to-date.
* line 6: SldWorks_ActiveDocChangeNotify, _info, pActiveDoc = Roof.SLDASM
* line 7: set_CurrentDocumentDirectory, _info, _cd =
* line 8: CreateScene, _info, created Maxwell Scene
* line 9: ApplyLastPresets, _info, Using last Presets as default values - to disable, set Plugin Options > 'Use Last Preset as Default' to 'No'
* line 10: LoadSceneData, _info, reading version 1.7.0.0 scene data
* line 11: LoadMaterialList, _info, read materials from part: Roof.SLDASM
* line 12: mxLogView.OnShowWindow, _info, sz=764x496h, loc=1239,160(virtual), pWnd=67136
* line 13: PrintPathStatusReport, _info, -- BEGIN Path Status Report --
* line 14: PrintPathStatusReport, _info, No invalid paths found
* line 15: PrintPathStatusReport, _info, -- END Path Status Report --
* line 16: WriteMxs, _notify, Generating new MXS meshes, press CTRL+ALT+SHIFT to cancel
* line 17: MeshPartOrAssemblySynchronous, _notify, processing SW assembly...
* line 18: exporting QQQ- Meridain Outer Hoop-2/Extrude1 using SW Component (mxm#1)
* line 19: exporting QQQ- Meridain Inner Hoop-2/M6x1.0 Tapped Hole1 using SW Component (mxm#1)
* line 20: exporting Gutter Extr - aalco Profile 109490-2/LPattern4 using SW Component (mxm#1)
* line 21: exporting Gutter Extr - aalco Profile 109490-1/LPattern4 using SW Component (mxm#1)
* line 22: exporting QQQ- Meridain Inner Hoop-3/Extrude3 using SW Component (mxm#1)
* line 23: exporting QQQ- Meridain Inner Hoop-4/Extrude3 using SW Component (mxm#1)
* line 24: exporting QQQ- Meridain Inner Hoop-5/Extrude3 using SW Component (mxm#1)
* line 25: exporting QQQ- Meridain Inner Hoop-6/Extrude3 using SW Component (mxm#1)
* line 26: exporting QQQ- Meridain Inner Hoop-7/Extrude3 using SW Component (mxm#1)
* line 27: exporting QQQ- Meridain Outer Hoop-3/Extrude1 using SW Component (mxm#1)
* line 28: exporting QQQ- Meridain Outer Hoop-4/Extrude1 using SW Component (mxm#1)
* line 29: exporting QQQ- Meridain Outer Hoop-5/Extrude1 using SW Component (mxm#1)
* line 30: exporting QQQ- Meridain Outer Hoop-6/Extrude1 using SW Component (mxm#1)
* line 31: exporting QQQ- Meridain Outer Hoop-7/Extrude1 using SW Component (mxm#1)
* line 32: exporting Steel Hoop-2/Steel Hoop-1/Shell3 using SW Component (mxm#1)
* line 33: exporting Steel Hoop-2/QQQ - Elephant Ears-1/Base-Extrude using SW Part (mxm#2)
* line 34: exporting Steel Hoop-2/QQQ - Elephant Ears-2/Base-Extrude using SW Part (mxm#2)
* line 35: exporting Steel Hoop-2/QQQ - Elephant Ears-3/Base-Extrude using SW Part (mxm#2)
* line 36: exporting Steel Hoop-2/QQQ - Elephant Ears-4/Base-Extrude using SW Part (mxm#2)
* line 37: exporting Steel Hoop-3/Steel Hoop-1/Shell3 using SW Component (mxm#1)
* line 38: exporting Steel Hoop-3/QQQ - Elephant Ears-1/Base-Extrude using SW Part (mxm#2)
* line 39: exporting Steel Hoop-3/QQQ - Elephant Ears-2/Base-Extrude using SW Part (mxm#2)
* line 40: exporting Steel Hoop-3/QQQ - Elephant Ears-3/Base-Extrude using SW Part (mxm#2)
* line 41: exporting Steel Hoop-3/QQQ - Elephant Ears-4/Base-Extrude using SW Part (mxm#2)
* line 42: exporting QQQ- Meridain Inner Hoop-8/Extrude3 using Default Material
* line 43: Exception report.
* line 44: Type: System.NullReferenceException
* line 45: Message: Object reference not set to an instance of an object.
* line 46: Source: Maxwell.SolidWorks
* line 47: Has StackTrace: True
* line 48: BEGIN STACKTRACE: 'System.NullReferenceException'
* line 49: - at Maxwell.SolidWorks.swMaterials.mxMesher.WriteFace(Object pObj, Object[]& pParams)
* line 50: - at Maxwell.SolidWorks.SwAddin.ProcessBody(Body2 pBody, Delegate pMethod, Object[]& pParams)
* line 51: - at Maxwell.SolidWorks.swMaterials.mxMesher.WriteBody(Object pObj, Object[]& pParams)
* line 52: - at Maxwell.SolidWorks.SwAddin.ProcessBody(Body2 pBody, Delegate pMethod, Object[]& pParams)
* line 53: - at Maxwell.SolidWorks.SwAddin.ProcessComponent(Component2 pComp, Delegate pMethod, Object[]& pParams)
* line 54: - at Maxwell.SolidWorks.swMaterials.mxMesher.WriteComponent(Object pObj, Object[]& pParams)
* line 55: - at Maxwell.SolidWorks.SwAddin.ProcessComponent(Component2 pComp, Delegate pMethod, Object[]& pParams)
* line 56: - at Maxwell.SolidWorks.SwAddin.ProcessAssembly(AssemblyDoc pAssembly, Delegate pMethod, Object[]& pParams)
* line 57: END STACKTRACE: 'System.NullReferenceException'
* line 58: Has InnerException: False
* line 59: MeshPartOrAssemblySynchronous, _notify, assembly-export time: 00:00:25.9218750
* line 60: Exception report.
* line 61: Type: System.AccessViolationException
* line 62: Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
* line 63: Source: Maxwell
* line 64: Has StackTrace: True
* line 65: BEGIN STACKTRACE: 'System.AccessViolationException'
* line 66: - at Cmaxwell.writeMXS(Cmaxwell* , SByte* )
* line 67: - at Maxwell.Scenes.Scene.EndWriteMxs(String Path, Boolean KeepScene)
* line 68: - at Maxwell.SolidWorks.SwAddin.OnEndWriteMxs(MeshExportCompletedEventArgs e)
* line 69: END STACKTRACE: 'System.AccessViolationException'
* line 70: Has InnerException: False
* line 71: OnEndWriteMxs, _notify, EndWriteMxs returned: False


Any ideas ?


Jonathan
By jjs
#278497
I have just restarted Solidworks and it has rendered - but atlot of parts are just invisible.

Log File

********************************
* Maxwell for SolidWorks
* Version: 1.7.0.0
********************************
* Session Log
* Date: 19/08/2008
* Time: 12:04:58.1406250
* File: file://C:\Documents and Settings\Administrator.JJSTEDMA-49998B\Application Data\MaxwellDotNET\Plugins\SolidWorks\Logs\session_log_12_04_57_PM___8_19_2008.txt
********************************
* line 1: ConnectToSW, _notify, running on SolidWorks 2008 SP0.0
* line 2: Initialize, _info, initializing Maxwell Database, using directory: 'C:\Documents and Settings\Administrator.JJSTEDMA-49998B\Application Data\MaxwellDotNET\SDK\DB'
* line 3: ConnectToSW, _info, to learn about using alternate database locations, see file://C:\Documents and Settings\Administrator.JJSTEDMA-49998B\Application Data\MaxwellDotNET\SDK\Config\readme.txt
* line 4: SldWorks_ActiveDocChangeNotify, _info, pActiveDoc = G2- Generic.SLDASM
* line 5: set_CurrentDocumentDirectory, _info, _cd =
* line 6: CreateScene, _info, created Maxwell Scene
* line 7: ApplyLastPresets, _info, Using last Presets as default values - to disable, set Plugin Options > 'Use Last Preset as Default' to 'No'
* line 8: LoadSceneData, _info, reading version 1.7.0.0 scene data
* line 9: LoadMaterialList, _info, read materials from part: G2- Generic.SLDASM
* line 10: mxLogView.OnShowWindow, _info, sz=764x496h, loc=1239,160(virtual), pWnd=458914
* line 11: PrintPathStatusReport, _info, -- BEGIN Path Status Report --
* line 12: PrintPathStatusReport, _info, No invalid paths found
* line 13: PrintPathStatusReport, _info, -- END Path Status Report --
* line 14: RenderStatusReady, _error, the .mxs file will be written to 'D:\PROJECTS\QQQ - G2 Generic\WIP-june2007\ScotlandQQQ\G2- Generic_9.mxs'
* line 15: RenderStatusReady, _error, the image will be written to 'D:\PROJECTS\QQQ - G2 Generic\WIP-june2007\ScotlandQQQ\G2- Generic_7.png'
* line 16: WriteMxs, _notify, Generating new MXS meshes, press CTRL+ALT+SHIFT to cancel
* line 17: MeshPartOrAssemblySynchronous, _notify, processing SW assembly...
* line 18: exporting Straight Post-1/Straight Pipe - ISO 657 PIPE_101~6 X 3~6-1/Below Ground level using RAL 5012 - light blue 1
* line 19: exporting Straight Post-1/Top Plate - Pole-1/Cut-Extrude1 using RAL 5012 - light blue 1
* line 20: exporting Straight Post-1/Top Spigot - Pole-1/cable hole using RAL 5012 - light blue 1
* line 21: exporting Straight Post-1/QQQ - Elephant Ears-1/Base-Extrude using RAL 5012 - light blue 1
* line 22: exporting Straight Post-1/QQQ - Elephant Ears-2/Base-Extrude using RAL 5012 - light blue 1
* line 23: exporting Straight Post-1/Steel Hoop-1/Steel Hoop-1/Shell3 using RAL 5012 - light blue 1
* line 24: exporting Straight Post-1/Steel Hoop-1/QQQ - Elephant Ears-3/Base-Extrude using SW Part (mxm#1)
* line 25: exporting Straight Post-1/Steel Hoop-1/QQQ - Elephant Ears-4/Base-Extrude using SW Part (mxm#1)
* line 26: exporting Roof-1/Gutter Extr - aalco Profile 109490-1/LPattern4 using RAL 5012 - light blue 1
* line 27: exporting Roof-1/Gutter Extr - aalco Profile 109490-2/LPattern4 using RAL 5012 - light blue 1
* line 28: exporting Roof-1/QQQ- Meridain Inner Hoop-2/M6x1.0 Tapped Hole1 using RAL 5012 - light blue 1
* line 29: exporting Roof-1/QQQ- Meridain Outer Hoop-2/Extrude1 using RAL 5012 - light blue 1
* line 30: exporting Roof-1/QQQ- Meridain Inner Hoop-3/Extrude3 using RAL 5012 - light blue 1
* line 31: exporting Roof-1/QQQ- Meridain Inner Hoop-4/Extrude3 using RAL 5012 - light blue 1
* line 32: exporting Roof-1/QQQ- Meridain Inner Hoop-5/Extrude3 using RAL 5012 - light blue 1
* line 33: exporting Roof-1/QQQ- Meridain Inner Hoop-6/Extrude3 using RAL 5012 - light blue 1
* line 34: exporting Roof-1/QQQ- Meridain Inner Hoop-7/Extrude3 using RAL 5012 - light blue 1
* line 35: exporting Roof-1/QQQ- Meridain Outer Hoop-3/Extrude1 using RAL 5012 - light blue 1
* line 36: exporting Roof-1/QQQ- Meridain Outer Hoop-4/Extrude1 using RAL 5012 - light blue 1
* line 37: exporting Roof-1/QQQ- Meridain Outer Hoop-5/Extrude1 using RAL 5012 - light blue 1
* line 38: exporting Roof-1/QQQ- Meridain Outer Hoop-6/Extrude1 using RAL 5012 - light blue 1
* line 39: exporting Roof-1/QQQ- Meridain Outer Hoop-7/Extrude1 using RAL 5012 - light blue 1
* line 40: exporting Roof-1/Steel Hoop-2/Steel Hoop-1/Shell3 using RAL 5012 - light blue 1
* line 41: exporting Roof-1/Steel Hoop-2/QQQ - Elephant Ears-1/Base-Extrude using SW Part (mxm#1)
* line 42: exporting Roof-1/Steel Hoop-2/QQQ - Elephant Ears-2/Base-Extrude using SW Part (mxm#1)
* line 43: exporting Roof-1/Steel Hoop-2/QQQ - Elephant Ears-3/Base-Extrude using SW Part (mxm#1)
* line 44: exporting Roof-1/Steel Hoop-2/QQQ - Elephant Ears-4/Base-Extrude using SW Part (mxm#1)
* line 45: exporting Roof-1/Steel Hoop-3/Steel Hoop-1/Shell3 using SW Component (mxm#2)
* line 46: exporting Roof-1/Steel Hoop-3/QQQ - Elephant Ears-1/Base-Extrude using SW Part (mxm#1)
* line 47: exporting Roof-1/Steel Hoop-3/QQQ - Elephant Ears-2/Base-Extrude using SW Part (mxm#1)
* line 48: exporting Roof-1/Steel Hoop-3/QQQ - Elephant Ears-3/Base-Extrude using SW Part (mxm#1)
* line 49: exporting Roof-1/Steel Hoop-3/QQQ - Elephant Ears-4/Base-Extrude using SW Part (mxm#1)
* line 50: exporting Roof-1/QQQ- Meridain Inner Hoop-8/Extrude3 using Default Material
* line 51: Exception report.
* line 52: Type: System.NullReferenceException
* line 53: Message: Object reference not set to an instance of an object.
* line 54: Source: Maxwell.SolidWorks
* line 55: Has StackTrace: True
* line 56: BEGIN STACKTRACE: 'System.NullReferenceException'
* line 57: - at Maxwell.SolidWorks.swMaterials.mxMesher.WriteFace(Object pObj, Object[]& pParams)
* line 58: - at Maxwell.SolidWorks.SwAddin.ProcessBody(Body2 pBody, Delegate pMethod, Object[]& pParams)
* line 59: - at Maxwell.SolidWorks.swMaterials.mxMesher.WriteBody(Object pObj, Object[]& pParams)
* line 60: - at Maxwell.SolidWorks.SwAddin.ProcessBody(Body2 pBody, Delegate pMethod, Object[]& pParams)
* line 61: - at Maxwell.SolidWorks.SwAddin.ProcessComponent(Component2 pComp, Delegate pMethod, Object[]& pParams)
* line 62: - at Maxwell.SolidWorks.swMaterials.mxMesher.WriteComponent(Object pObj, Object[]& pParams)
* line 63: - at Maxwell.SolidWorks.SwAddin.ProcessComponent(Component2 pComp, Delegate pMethod, Object[]& pParams)
* line 64: - at Maxwell.SolidWorks.SwAddin.ProcessComponent(Component2 pComp, Delegate pMethod, Object[]& pParams)
* line 65: - at Maxwell.SolidWorks.SwAddin.ProcessAssembly(AssemblyDoc pAssembly, Delegate pMethod, Object[]& pParams)
* line 66: END STACKTRACE: 'System.NullReferenceException'
* line 67: Has InnerException: False
* line 68: MeshPartOrAssemblySynchronous, _notify, assembly-export time: 00:00:03.1718750
* line 69: OnEndWriteMxs, _notify, EndWriteMxs returned: True
* line 70: OnEndWriteMxs, _info, The .mxs was written successfully, the path was: [ D:\PROJECTS\QQQ - G2 Generic\WIP-june2007\ScotlandQQQ\G2- Generic_9.mxs ]
* line 71: StartMxcl, _notify, Opening .mxs in mxcl.exe, the full command-line was: [ MXCL -mxs:"D:\PROJECTS\QQQ - G2 Generic\WIP-june2007\ScotlandQQQ\G2- Generic_9.mxs" -o:"D:\PROJECTS\QQQ - G2 Generic\WIP-june2007\ScotlandQQQ\G2- Generic_7.png" -rs:1 -d -p:low" ]
* line 72: mxVersionChecker.CheckForUpdate(), _notify, checking for plugin updates...
* line 73: mxVersionChecker.CheckForUpdate(), _notify, the installed plugin version (1.7.0.0) is up-to-date.


===================


Line 52 to 67 seem significant - any ideas on what it means?



Jonathan
By jjs
#278501
got it to render

Had to go back to each part - delete all materials assigned and then assign a maerial to the part 'Body' of every component

Just goes to show that if thing are going astray - a material assignment glitch is the first thing to look at.

Anyway - onwards to the deadline :D

Jonathan
By JDHill
#278502
Hi Jonathan,

Thanks for posting the logs, I have one other similar report and I'm trying to track down the cause.

Cheers,

JD
By JDHill
#278512
Well, I've been working on this for awhile and I am still unable to duplicate the issue. I am working with multiply-nested assemblies and parts with Materials assigned at various levels, but still no error. Is there any small detail you can think of that might help me to build a model similar to the one you were using here?

Thanks...
By jjs
#278516
I have to get these rendering out the door - but then I'll try and replicate problem - then no problem - I'll email you the sw assembly for you to play with.


day after tommorrow OK?

Jonathan
By JDHill
#278518
That would be great. :)
render engines and Maxwell

well I don't think AI will remain like it is now. […]

Help with swimming pool water

Hi Andreas " I would say the above "fake[…]