Using information from the configuration table in postprocessor output filename

Using information from the configuration table in postprocessor output filename

craptree4NU47
Enthusiast Enthusiast
470 Views
5 Replies
Message 1 of 6

Using information from the configuration table in postprocessor output filename

craptree4NU47
Enthusiast
Enthusiast

Hi, some of our designs have many many different configurations. I am trying to make the process of generating G-code for each configuration more efficient. 

 

I was wondering, is there any way to use the configuration name or other configuration table information in the post processor output expressions.

 

I cant find any documentation that lists what variables exist for these expressions, as the standard expression builder/helper doesn't appear for this dialogue.

 

Thanks for your help

Riz

0 Likes
Accepted solutions (1)
471 Views
5 Replies
Replies (5)
Message 2 of 6

viacheslav.shapilov
Autodesk
Autodesk

Hi, @craptree4NU47 
Not sure about configuration names, but design parameters should be available there. And as you can configure them using configurations, they will reflect values from configuration table.

viacheslavshapilov_0-1720093238452.png

viacheslavshapilov_1-1720093275610.png

viacheslavshapilov_2-1720093324239.png

 


Viacheslav Shapilov
Developer Technical Services
Autodesk Developer Network


0 Likes
Message 3 of 6

craptree4NU47
Enthusiast
Enthusiast

Thanks for your reply

 

Although that wouldn't be helpful here as I really do need the configuration name (and parameters cannot be text afaik), but I have tried the above, and it doesn't seem to work for me.

 

craptree4NU47_0-1720451119265.png

craptree4NU47_1-1720451187389.png
craptree4NU47_2-1720451222710.png

 

Perhaps due to my post? - if thats the case, is it possible to pass this through a regexp to remove it

 

Would be great if someone could point me to a reference where I can find more functions such as the Util.to.String

 

Best

Riz

 

0 Likes
Message 4 of 6

viacheslav.shapilov
Autodesk
Autodesk
Accepted solution

You have mistyped expression, it should be "Util.toString".

Reference for manufacture expressions is here .

But surprisingly, I don't see "Util.toString" there.


Viacheslav Shapilov
Developer Technical Services
Autodesk Developer Network


Message 5 of 6

craptree4NU47
Enthusiast
Enthusiast

Thanks Viacheslav, that works now and will be very helpful! I can see in the API there is experimental access to configuration names - hopefully this ends up being accessible data, and also hope that all the Utils. get added to the reference at some point!

0 Likes
Message 6 of 6

kevinFZF99
Contributor
Contributor

Thank you, this was an answer I was looking for too. 

 

Does anyone know where a more complete list of expression is? The reference link does not seem to contain all the information available.

0 Likes