Hi All,
Just wondering if anyone had a compiled version of the ImageSampler for Connect version 10.05.00.51.
I tried creating one in visual studio but I get an error:
1>------ Build started: Project: ImageSampler, Configuration: Debug x64 ------1>C:\Temp\VS2015_ImageSampler for ABD-GC CONNECT Edition\ImageSampler\ImageSamplerNode.cs(43,28,43,43): error CS0246: The type or namespace name 'ParentNodeScopeAttribute' could not be found (are you missing a using directive or an assembly reference?)1>C:\Temp\VS2015_ImageSampler for ABD-GC CONNECT Edition\ImageSampler\ImageSamplerNode.cs(43,28,43,43): error CS0246: The type or namespace name 'ParentNodeScope' could not be found (are you missing a using directive or an assembly reference?)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Thanks
Wayne
Hi Wayne,
Most likely the project needs updating because of changes in the GC script environment. I'll take a look.
Regards,
Volker
It looks like ParentNodeScope is now DgnModelProvider. Replacing the one instance of ParentNodeScope with DgnModelProvider should let you build the solution and run it in Update 4.
I did not find ParentNodeScopeAttribute in the ImageSamplerNode.cs file (or anywhere in the ImageSampler solution). Not sure why that shows up in your error listings.
HTH,
Answer Verified By: Wayne Dickerson
Hi Volker,
Thanks for the update, I made the change to the ParentNodeScope and ran the Build and it worked perfectly.
I have attached a built version for anyone running Update 4 (10.05.00.51)
ImageSampler.zip