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

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Water Moccasin
  • Posts: 2315
  • 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!
Autodesk Infrastructure Design Suite 2018

mjfarrell

  • Seagull
  • Posts: 14377
  • 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

  • Water Moccasin
  • Posts: 2315
  • 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.
Autodesk Infrastructure Design Suite 2018

MSTG007

  • Water Moccasin
  • Posts: 2315
  • I can't remeber what I already asked! I need help!
Re: AutoDesk Map - Creating Expressions from properties
« Reply #3 on: Today at 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?
Autodesk Infrastructure Design Suite 2018

mjfarrell

  • Seagull
  • Posts: 14377
  • Every Student their own Lesson
Re: AutoDesk Map - Creating Expressions from properties
« Reply #4 on: Today at 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

  • Water Moccasin
  • Posts: 2315
  • I can't remeber what I already asked! I need help!
Re: AutoDesk Map - Creating Expressions from properties
« Reply #5 on: Today at 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
Autodesk Infrastructure Design Suite 2018

mjfarrell

  • Seagull
  • Posts: 14377
  • Every Student their own Lesson
Re: AutoDesk Map - Creating Expressions from properties
« Reply #6 on: Today at 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/