Message 1 of 1
Set Imported Category Line Width in Visibility Graphics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
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