Jump to content

Class Attribute SetClUseGraphic -> Give object these values after creating them


Recommended Posts

Hi, 

I created a class and put the object in it. The Boolean "assign" automatically is set to true. 


This is the way I created my class:

vs.SetClFPat(layerName, 1)
vs.SetClFillBack(layerName, colorcodes[ind])

vs.SetClUseGraphic(layerName,1)

 

My object is created, but the color by class value is not set. How am I possible to get this to work?

 

Found the solution. Just had to use vs.SetFillColorByClass(obj) after creating it.

Edited by leisure
Link to comment
  • leisure changed the title to Class Attribute SetClUseGraphic -> Give object these values after creating them

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...