Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hey everyone,
I'm working on a java based tool to update certain properties of all used Fibres in a Design.
With Design.getCurrentDesign(); I'm referencing the current design.
With the method Design.getFibres(true, true) I get an Iterator of all the used Fibes in the Design.
To use the Fibre-specific methods however, I have to cast the Iterator to a Fibre Object.
Unfortunately that is not working. (Fibre myFibre = (Fibre) Design.getFibres(true, true).next())
I get the Exception that a cast to a Fibre is not possible.
What am I missing here? How can I reference each Element of this Iterator?
I am new to Java so don't be too harsh on me 😉