Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to select all shapes in a stencil and change color on import? #2

Open
41GitHub opened this issue Mar 24, 2021 · 1 comment
Open

Comments

@41GitHub
Copy link

No description provided.

@41GitHub
Copy link
Author

41GitHub commented Mar 25, 2021

I tried setting the color on the shape, but it appears I need to loop through all of the shapes that make up the shape.

How can I loop through all of the shapes that may make up a newly imported shape so that I can apply a color to each shape?

$shape = $newMaster.Import($svgfile)

$shape.CellsU("FillForegnd").FormulaForceU = "RGB(51,255,85)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant