AutoCAD Map 3D Forum
Welcome to Autodesk’s AutoCAD Map 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QUERY, ALTER PROPERTIES IF STATEMENT troubles

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
240 Views, 0 Replies

QUERY, ALTER PROPERTIES IF STATEMENT troubles

Hello all,

 

I'm unable to solve this problem. I'm running a query on some pipelines to which i'm setting a Alter Properties to change the layer based on Object Data. I want to incorporate a IF statement so that if ("company name" = SHELL) call the layer SHELL - SUBSTANCE else call the layer PIPELINE - SUBSTANCE.


 

I tried these plus numerous others. Any suggestions, Thanks so much!

 

(if(:comp_name@pipeline_pl_joined="SHELL") (STRCAT :comp_name@pipeline_pl_joined "-" :sub_1@pipeline_pl_joined) (STRCAT "PIPELINE - " :sub_1@pipeline_pl_joined))

(if(:comp_name@pipeline_pl_joined=SHELL) (STRCAT :comp_name@pipeline_pl_joined "-" :sub_1@pipeline_pl_joined) (STRCAT "PIPELINE - " :sub_1@pipeline_pl_joined))

 

Daniel Martin.

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost