Hi,
We have many materials defined in Creo . We built a custom dialog to pick family and thickness before applying them to a part (screenshots 1 and 2: the cascading dropdowns with our real data), based on the sheet_part_select.lsp script from this same forum (thread "Blech Material / Blechstärke zuweisen":
https://ww3.cad.de/foren/ubb/Forum29/HTML/004924.shtml, with the oli:: package fix mentioned there).
Thickness is applied correctly and persists. But material is not: whatever value we pass to :material (a literal string or a real code from our own database), the part — and the whole session's material list for new parts — always falls back to a generic default, until Creo is restarted.
Code attached (the block that doesn't work as expected is marked). Any idea what's wrong, or what the correct syntax should be?
We don't have much experience with Lisp in Creo, so any pointer, however basic, is appreciated.
Thanks!
------------------
miquel
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP