Set Imported Category Line Width in Visibility Graphics

Set Imported Category Line Width in Visibility Graphics

Mark.Ackerley
Advocate Advocate
351 Views
0 Replies
Message 1 of 1

Set Imported Category Line Width in Visibility Graphics

Mark.Ackerley
Advocate
Advocate

Hi,

 

I can use the API to set line weight for imported (DWG) categories in Object Styles,

 

subCategories.get_Item("0").SetLineWeight(5, GraphicsStyleType.Projection)

 

 

 

but these are being ignored by Revit in the view... So I am needing to set them in the Visibility Graphics dialogue.

 

Capture.JPG

 

 

I can set visibility, but not weight by view? Does anyone have a workaround?

https://www.revitapidocs.com/2020/6802192d-0482-b151-bd17-96259320c1d8.htm

 

This method is for object styles, not visibility graphics...

https://forums.autodesk.com/t5/revit-api-forum/line-weight-setting/td-p/5093886

 

I have searched the forums without success...

 

Thanks,

 

Mark

 

 

 

0 Likes
352 Views
0 Replies
Replies (0)