Applies To | |||
Product(s): | BENTLEY INTERPLOT CLIENT | ||
Version(s): | N\A | ||
Environment: | N\A | ||
Area: | IPLOT | ||
Subarea: | N\A | ||
Original Author: | Todd Combs, Bentley Technical Support Group | ||
InterPlot Design Script, want to test off the reference file name rather than the logical name. Which comparison keyword is used?
Example:
ip_logical_index = lname
if (ip_short_ref_filename == "ref.dgn") then
color = (255,0,0)
endif
The key is to use ip_logical_index = lname and the ref files have got to have a logical name even though we’re not testing off it. Also, ip_short_ref_filename will test off the file name only, and ip_ref_filename will test off the folder and file name. A wildcard can also be used (if ip_ref_filename == “*ref.dgn�)