Configurator 360 General Discussion

Configurator 360 General Discussion

Reply
Contributor
jasper.du.saar
Posts: 17
Registered: ‎05-16-2013
Message 1 of 6 (377 Views)

iLogic support

377 Views, 5 Replies
01-13-2014 02:18 AM

Hi all,

I'm trying to figure out how much of the iLogic functionality is supported by Configurator. I read that iLogic should be available for use. Does this include parts of the Inventor API one could integrate into the iLogic rules in Inventor? If so, which parts? I currently have a model uploaded to Configurator 360 which was initially not created specifically for this intent. This model relies heavily on VB.net to update correctly (addition/removal of components in the assembly, among other things). Despite trying my best to eliminate things that wouldn't work on some platform different from standalone Inventor (file references, for example), I still cannot manage to succesfully configure my model in Configurator.

 

Product Support
bob.holland
Posts: 329
Registered: ‎02-15-2013
Message 2 of 6 (352 Views)

Re: iLogic support

01-13-2014 12:45 PM in reply to: jasper.du.saar

Hello Jasper,

 

Thanks for trying Configurator 360. 

 

Yes, iLogic is available for use on Configurator 360. 

 

There are some limitations; these are documented here.  You may need to scroll down the page.

 

You CAN use VB code in general.  In addition to the documented limitations, note that your VB code cannot access Inventor browser objects, nor any interactive capabilities, especially including message boxes and forms.

 

If you are adding components, be sure that those files are included in the uploaded Zip file (normal pack-n-go won’t get them), and ensure that your code is referring to them with a pathname relative to the assembly that contains the rules.

 

We’d be happy to look at your particular model & code.  Send it to “configurator360.support@autodesk.com”.

 



Bob Holland


Contributor
jasper.du.saar
Posts: 17
Registered: ‎05-16-2013
Message 3 of 6 (347 Views)

Re: iLogic support

01-14-2014 12:17 AM in reply to: bob.holland

Hi Bob,

Thank you for your reply. From the documented limitations I gather that any instance of 'ThisApplication' should be replaced with 'ThisServer'. The following is an example of how I would access particular documents. Could you indicate whether or not swapping out aforementioned objects would result in valid code?

 

Dim strPath As String, oPartDoc As PartDocument
strPath = ThisDoc.Path & "\SomeSubfolder\Partfile.ipt"
Try
	oPartDoc = ThisApplication.Documents.ItemByName(strPath)
Catch
	Try
		oPartDoc = ThisApplication.Documents.Open(strPath,False)
	Catch
		'normally some error message would be displayed
		Exit Sub
	End Try
End Try

 

Employee
MjDeck
Posts: 959
Registered: ‎02-24-2009
Message 4 of 6 (327 Views)

Re: iLogic support

01-14-2014 01:02 PM in reply to: jasper.du.saar

Jasper,

Yes, if you replace ThisApplication with ThisServer then the code you're showing will work on Configurator 360.



Mike Deck
Software Developer
DLS - Mechanical Design
Autodesk, Inc.

Employee
MjDeck
Posts: 959
Registered: ‎02-24-2009
Message 5 of 6 (320 Views)

Re: iLogic support

01-14-2014 09:22 PM in reply to: jasper.du.saar

Note that ThisServer also works in Inventor. So the same rule can be used both in Inventor and on Configurator 360. In Inventor, ThisServer provides a subset of the ThisApplication functionality.



Mike Deck
Software Developer
DLS - Mechanical Design
Autodesk, Inc.

Contributor
jasper.du.saar
Posts: 17
Registered: ‎05-16-2013
Message 6 of 6 (311 Views)

Re: iLogic support

01-15-2014 02:15 AM in reply to: MjDeck

Hi Mike,

Thank you for your input. Unfortunately, changing the reference to ThisServer didn't solve my problem. I think I'll send the model over to the email address provided by Bob. I'm hoping they may be able to identify some remaining issues. 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.