Author Topic: AutoDesk Map - Creating Expressions from properties  (Read 7395 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
AutoDesk Map - Creating Expressions from properties
« on: December 07, 2018, 08:15:14 AM »
I guess its to early in the morning. I can not figure out how to filter out two different properties together for a selection.

I came up with this:
Code: [Select]
  "FLD_ZONE" = 'A'  +  ZONE_SUBTY  =  'FLOODWAY'
But I am not understanding this part if the error.
Code: [Select]
The expression is invalid
Error: Argument types for  operator '+' are mismatched. Click here to move the cursor to the error (20)#20
Error: Result types are mismatched: the validation operation expected 'Boolean' but the expression returned 'Unknown'

Thank you for any help!
Civil3D 2020

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: AutoDesk Map - Creating Expressions from properties
« Reply #1 on: December 07, 2018, 10:14:33 AM »
+  is math


AND is a Join/conditional

thus the mismatch error statement
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
Re: AutoDesk Map - Creating Expressions from properties
« Reply #2 on: December 07, 2018, 10:23:03 AM »
ok. I guess that makes some sense. Thank you.
Civil3D 2020

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
Re: AutoDesk Map - Creating Expressions from properties
« Reply #3 on: December 12, 2018, 08:37:15 AM »
Ok. Got another question. Still on the same topic. I was able to create the expression. Now I have labels for the Road Names.

They are showing a lot of the same Road Names on the lines. Anyway I can get it to show 1 or 2 labels on the Road Line?
Civil3D 2020

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: AutoDesk Map - Creating Expressions from properties
« Reply #4 on: December 12, 2018, 10:06:14 AM »
stuff you may already know

Quote
Each geometry type has its own positioning options. The labeling process determines where to put the symbols, and it places them so they do not cover each other, using the following parameters:

Show labels at fixed locations relative to the feature, or repeat the label at intervals along the feature.
Offset labels from the start, middle, or end of the line.
Specify the interval at which labels will repeat.
Specify a single-line label that follows a path and shrinks to fit.
When you label point features, you can also control the following:

Specify that labels move automatically when they encounter another label, to avoid one label overlapping another.
Specify vertical and horizontal offsets to control the anchor point for the label relative to its referencing point.
For performance reasons, the maximum number of labels drawn is 2000. If there are so many labels that geometry would be obscured if they were drawn, AutoCAD Map 3D does not draw them.

Quote
For linear features, expand the Advanced settings and specify Fixed to show labels at fixed locations relative to the feature. Select Repeat to repeat the label at intervals along the feature.

number and size of feature segments can influence your results
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
Re: AutoDesk Map - Creating Expressions from properties
« Reply #5 on: December 12, 2018, 10:46:57 AM »
I selected the fixed option. Looks good to me, but I have all the text reading left to right. Even the Road Names on North South Streets. I noticed the rotate field and that there is an expression. Any idea what type of expression to use? lol

Thank you again
Civil3D 2020

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: AutoDesk Map - Creating Expressions from properties
« Reply #6 on: December 12, 2018, 11:15:30 AM »
Puzzled and Confused are two expressions I find myself with using MAP

you will wind up with a statment using LISP @object angle or similar....



https://knowledge.autodesk.com/support/autocad-map-3d/learn-explore/caas/CloudHelp/cloudhelp/2017/ENU/MAP3D-Use/files/GUID-FD500C5A-3DAF-4EEF-9CB5-32CA8A75344F-htm.html


OR use annotation template(s)

https://map3d.wordpress.com/category/map-3d-how-do/page/3/
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
Re: AutoDesk Map - Creating Expressions from properties
« Reply #7 on: December 14, 2018, 07:37:09 AM »
Geesh. Still wrapping my brain around this one. I was trying to find examples but really do not have any luck for what I think I am wanting to do.

I am trying to keep this basic. So I am looking one how to only show Text Labels showing the I- (Wildcard). I have a Property called FULL_STREE = "I-*".

Then I get an error

The expression is invalid
Error: The expression has an undefined property '"i-*"'. Click here to move the cursor to the error(15)#15

Sorry for bothering you on this. Its just not clicking. BTW, for not really using map it is pretty powerful.
Civil3D 2020

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: AutoDesk Map - Creating Expressions from properties
« Reply #8 on: December 14, 2018, 12:48:32 PM »
Please send me small representative data set...might not be you
could be the data/data structure



Keep in mind...GIS = Graphic Information System

The power comes from the data; it is not really CAD

Remind yourself of that often.....


* but you know that
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: AutoDesk Map - Creating Expressions from properties
« Reply #9 on: December 14, 2018, 02:35:45 PM »
OK look at the attached...

one can apply many styles to a single layer using themes.....
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
Re: AutoDesk Map - Creating Expressions from properties
« Reply #10 on: December 14, 2018, 02:50:36 PM »
I kinda figured some of that out. On the data that I downloaded, I do not see the "RTTYP" Property. Or is that something within map you can use in order to filter with wildcards?
Civil3D 2020

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: AutoDesk Map - Creating Expressions from properties
« Reply #11 on: December 14, 2018, 03:29:08 PM »
RTTYP is a property attached to the data...

like FEATID
or FULLNAME
Be your Best


Michael Farrell
http://primeservicesglobal.com/