You are currently reviewing an older revision of this page.
InterPlot Design Script, want to test off the reference file name ratherthan the logical name. Which comparison keyword is used?
Example:ip_logical_index = lnameif (ip_short_ref_filename == "ref.dgn") thencolor = (255,0,0)endifThe key is to use ip_logical_index = lname and the ref files have got tohave a logical name even though we’re not testing off it. Also,ip_short_ref_filename will test off the file name only, andip_ref_filename will test off the folder and file name. A wildcard canalso be used (if ip_ref_filename == “*ref.dgn�)