You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Velocity Python Guide StructureOperations like createStructure, crop, intersectStructures, unionStructures, createStructureFromMask have a color parameter which might be defined while creating a new structure. Can you provide some example?
Simple "Red" doesn't work.
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: Wrong number or type of arguments for overloaded function 'StructureOperations_intersectStructures'.
Possible C/C++ prototypes are:
vsc::StructureOperations::intersectStructures(int const,std::vector< int,std::allocator< int > > const &,std::string const &,vsc::Color *)
vsc::StructureOperations::intersectStructures(int const,std::vector< int,std::allocator< int > > const &,std::string const &)
The text was updated successfully, but these errors were encountered:
mfizyczka
changed the title
How to define of the new structure
How to define color of the new structure
Mar 3, 2023
mfizyczka
changed the title
How to define color of the new structure
How to define color of a new structure
Mar 3, 2023
Hi @mfizyczka, I'm aware that the API exposes the color / targetColor parameters in those functions, but unfortunately those are not meant to be used by the API user - structures' colors in Velocity are automatically assigned by the Velocity Engine. Apologies for this confusion.
Hi,
According to the Velocity Python Guide StructureOperations like createStructure, crop, intersectStructures, unionStructures, createStructureFromMask have a color parameter which might be defined while creating a new structure. Can you provide some example?
Simple "Red" doesn't work.
The text was updated successfully, but these errors were encountered: