I think I figured it out. It turns out even without a view template I couldn’t hide the category of the linestyle I was filtering for, so I took another approach.
param_id = DB.ElementId(BIP.BUILDING_CURVE_GSTYLE)
param_provider = DB.ParameterValueProvider(param_id)
param_contains = DB.FilterStringContains()
param_rule = DB.FilterStringRule(param_provider,param_contains,'NPLT',False)
param_filter = DB.ElementParameterFilter(param_rule)
line_element_ids = DB.FilteredElementCollector(doc).WherePasses(param_filter).ToElementIds()
This will get all detail lines (and possibly all model lines too, haven’t checked) with the term NPLT in the Line Style name.
I placed the above into doc-printing.py and doc-printed.py scripts. In doc-printing, I hide the collected lines and in doc-printed I unhide the lines.
Similarly, the same code as above but with the built-in-parameter BIP.ALL_MODEL_TYPE_NAME will get dimension strings and text that have NPLT in their type name. I assume any family object that I rename to have NPLT in the name would get caught up in this filter so use with caution. I’ll post my full solution in separate replies in case anyone else wants to create ‘no plot’ functionality.