Informed Design: Is there a failure log, which can be accessed when a variant fails to generate?

Informed Design: Is there a failure log, which can be accessed when a variant fails to generate?

JMGunner
Advocate Advocate
1,917 Views
17 Replies
Message 1 of 18

Informed Design: Is there a failure log, which can be accessed when a variant fails to generate?

JMGunner
Advocate
Advocate

Is there any options too access "Open Failure log"  

then you try too "Insert" model 

Picture 1 

 

jog52SDT_0-1745911616559.png

 

 

 

 

in OutPut you have the options too see log 

Picture 2 

jog52SDT_2-1745911747347.png

 

 

Best JM Gunnar

 

 

 

 

 

 

 

0 Likes
Accepted solutions (2)
1,918 Views
17 Replies
Replies (17)
Message 2 of 18

PaulMunford
Autodesk
Autodesk

Hi @JMGunner That is a great question - thank you! In this case, I don't know the answer. Let me find out for you.

 

Paul



Paul Munford
Technical Onboarding Architect
Linkedin 

0 Likes
Message 3 of 18

PaulMunford
Autodesk
Autodesk
Accepted solution

Hi @JMGunner Thank you for your question. The short answer is 'No', we currently do not offer an option to access the log for failed variants. 

 

Perhaps you could give us more details on the problem you are facing, and perhaps we can help you find a solution?

 

Thanks very much.



Paul Munford
Technical Onboarding Architect
Linkedin 

0 Likes
Message 4 of 18

JMGunner
Advocate
Advocate

I can send you 2 exampel too you @PaulMunford   

 

 

 

0 Likes
Message 5 of 18

PaulMunford
Autodesk
Autodesk

@JMGunner Great 🙂 Please feel free to DM me links. Please include whatever context you can about the failures. This could be written, screen captures, or a video screen recording. Whatever works for you. Thank you!



Paul Munford
Technical Onboarding Architect
Linkedin 

0 Likes
Message 6 of 18

JMGunner
Advocate
Advocate

 

 

Debug rule in Informed Design 

 

 

Check this fail logger for creating drawing

Automation Works all the process to end 

 

I add the Trace logger in "APS"

iLogicVb.Automation.LogControl.Level = LogLevel.TraceLogger.Trace("Start Dimension")

Logger.Trace("Start Dimension")

 

Logger.Trace("End Dimension")

 

if the ilogic rule "crash"

I can se this in the logger 

if I only find the first Logger.Trace("Start")

then i know which rule thats not working.

 

 

 

The process crash in the end

[05/06/2025 14:02:12] InventorCoreConsole.exe Error: 0 : Exception thrown from RunWithArguments

 

this is the hard error too find soultion.

 

Best Regards JM

 

 

 

 

0 Likes
Message 7 of 18

PaulMunford
Autodesk
Autodesk

Thanks @JMGunner, am I correct - is this the debug log from an iLogic rule that is running on your local machine?

Or - is this an example of what you'd like to receive when a variant fails to generate?

 

Thank you.



Paul Munford
Technical Onboarding Architect
Linkedin 

0 Likes
Message 8 of 18

JMGunner
Advocate
Advocate

@PaulMunford  

this is debug log from Informed Design  "balcony"  then i try too create one PDF 

 

1.

How I debug ilogic rule in Informed Design

I add this too iLogic code

iLogicVb.Automation.LogControl.Level = LogLevel.Trace

2.

In all ilogic-rule I add Trace in start and end of the rule 

Logger.Trace("Start" name of ilogic rule)

 

Logger.Trace("End" name of ilogic rule)

 

3.

If I get error in the rule  

It only Trace "Start"

 

 

4.

If i read the logger file I see thats all my iLogic works.

 

5.

I can not find where Error Inventor Error  in PDF generation

Last row

[05/06/2025 14:02:12] InventorCoreConsole.exe Error: 0 : Exception thrown from RunWithArguments

 

Best Regards JM Gunnar

 

 

 

 

 

 

Message 9 of 18

PaulMunford
Autodesk
Autodesk

It looks like the iLogic script creates a PDF and a zip file and writes them to a local drive?

 

If so, this would not be supported by Informed Design. Informed Design packages your configurable Inventor model and uploads it to Autodesk Platform Services, where the 'headless' version of Inventor is used to apply configurations to the model. After configuration, the files are deleted. The next time a configuration is requested, the original configurable model is loaded again.

Is that helpful?



Paul Munford
Technical Onboarding Architect
Linkedin 

0 Likes
Message 10 of 18

JMGunner
Advocate
Advocate

It looks like the iLogic script creates a PDF and a zip file and writes them to a local drive?

"local drive is Autodesk Platforms Server "

 

1.Informed Design send the zip-package too Autodesk Platforms Service 

2.It's zip the folder then run all ilogic rule  / save "PDF/DWG/Asssembly"

3.Zip the result 

4.Send back result too Output

 

It's not my iLogic rule 

 

Best Regards JM Gunnar 

Message 11 of 18

PaulMunford
Autodesk
Autodesk

Thanks@JMGunner. I apologise that this is taking me a little longer than usual to resolve. I have escalated it to the product team. I will get back to you on Monday with an update.

 

Have a great weekend.



Paul Munford
Technical Onboarding Architect
Linkedin 

Message 12 of 18

JMGunner
Advocate
Advocate

I  zip  and send the demo test too you 

on monday

if you want

Best Regards JM  

Message 13 of 18

PaulMunford
Autodesk
Autodesk

Thanks @JMGunner I have passed on your dataset to our product team. I'll report back on the results.



Paul Munford
Technical Onboarding Architect
Linkedin 

Message 14 of 18

PaulMunford
Autodesk
Autodesk

@JMGunner  Just to let you know, I'm still chasing an answer for you.



Paul Munford
Technical Onboarding Architect
Linkedin 

0 Likes
Message 15 of 18

PaulMunford
Autodesk
Autodesk

Hi @JMGunner We think that the iLogc rule that is trying to write out a PDF and ZIP may be causing the problem. Can you try suppressing this rule and publishing again?

Let us know if that works?



Paul Munford
Technical Onboarding Architect
Linkedin 

0 Likes
Message 16 of 18

JMGunner
Advocate
Advocate

i try too send by its limits number messesge ...   🤔

 

JMGunner_0-1747985169079.png

 

Message 17 of 18

deepikag2
Autodesk
Autodesk

Hi @JMGunner, sorry that you're running into issues and thanks for all the debugging you did! Our product team took a look into this issue. It looks custom dlls are being used as part of the dataset and they are loaded as part of iLogic script execution. The use of external dlls isn't supported by our Design Automation processing and is the likely cause of the error you are observing.

Message 18 of 18

JMGunner
Advocate
Advocate
Accepted solution

I use this dll with APS Design Automation Inventor 

@deepikag2 

 

 

 

Is there any options too Catch more info from error in logg file ? 

[05/31/2025 22:26:11] InventorCoreConsole.exe Error: 0 : iLogic error
[05/31/2025 22:26:11] Details: System.FormatException: Rule Compile Errors in PlaceViews, in BalconyDLL.dwg

 

 

The use of external dlls isn't supported by our Design Automation processing 

for info in future 

 

Solution

iLogicVb is support by 

Create iLogicVb for Informed  Design Automation processing 

ilogicUtils.iLogicVb

 

 

Best JM Gunnar