Hello,
I am using Generative Components Update 8 (Version 10.08.00.40). I can compile the C# Sample Solution and place the SimpleLineNode into the graph however, the SetElement() call throws an exception as per the attached screenshot. Has anyone else experienced this? Is there a workaround?
Regards,
Trevor
HI Trevor,
This is a known problem with the U8 Sample Solution file. As a workaround, you may use the old U7 Sample Solution file.
Thanks,
Anik
Does this mean that I need to downgrade my installation of Generative Components? Or is it just different project settings in the Visual Studio solution file?
Hello Trevor,
No you do not need to downgrade your installation. We have upgraded the Update 7's sample solution code to work with update 8. Please use the below attached code to compile the sample solution.
Please put this .CS inside the Sample Solution's folder and while opening the SampleAddin.sln file it should pick this CS too.
I hope this helps you to compile the sample solution.
https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/360/line-Upgraded-for-U8_2E00_cs
regards,Alifur
Answer Verified By: Trevor Watling
OK thank you. So for now, the SetComElement() methods need to be used.
Thank you for the prompt reply.
Yes the Update 8 build is having some issue with the new .NET api. We have informed this item to the developers.
Regards,Alifur