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: 

alter properties/define text/object data-records

1 REPLY 1
Reply
Message 1 of 2
gissawyer
194 Views, 1 Reply

alter properties/define text/object data-records

Can this be done? I have a table with a field with two records in each. Is there a way to call up records one and "strcat" it to record two? Thanks, TC
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: gissawyer

Hello,

 

Yes, this is a common type of usage for Map
expressions.   And, since

our expression language is modelled on AutoLISP,
the syntax and usage

is almost exactly like you've guessed
below.

 

You want to concatentate two (presumably) character
fields from object

data.  Use something like the following for
the text value in the property

alteration:

 

    (strcat :field1@odtable
:field2@odtable)

 

where "field1" & "field2" are the field
names, and "odtable" is the table name.

 

Cheers-

 

rdh.


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Can
this be done? I have a table with a field with two records in each. Is there a
way to call up records one and "strcat" it to record two? Thanks,
TC

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

Post to forums  

Autodesk Design & Make Report

”Boost