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: 

Theme a Layer with Dynamic Blocks

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
nwray
463 Views, 4 Replies

Theme a Layer with Dynamic Blocks

Hi all,

 

I'm working on a map which contains a large number of data points.  One set of points represents a number of signalized intersections.  Each point has object data associated with it, including information that I want to use to theme.  In order to get the theme to work correctly, I have exported the points to SDF and then connected to that file using the FDO.  

 

Once connected to the data, I created a theme that I am using to display the points.  The points are set to display as blocks (all the same block) which only vary in fill color based on one item of the object data.  So far, all of that works; all blocks display as desired and in the correct color.  

 

The problem that I am having is in trying to make a dynamic label a part of the block.  What I want is to display the contents of one field from the object data as text immediately below the block.  To do that, I open the block in the block editor, then add an annotative text field (mapanntext command).  I set the properties that I want with regard to text size, position, rotation, etc., and set the value to be the appropriate field from the object data table.  However, when I try to display these blocks in the map, the text does not show up.  I've checked the basic issues (text would be large enough to see, layer is set to visible, etc.), but I can't figure why everything else displays with no text.  Any ideas would be appreciated.

 

Thanks,

 

Norm

GIS Specialist

BOXX Technologies APEXX 2 2402 Workstation
Intel Core i7-6700K @ 4.4 GHz
32 GB RAM / 500 GB SSD
NVIDIA Quadro M2000 Graphics
Windows 7 Pro 64 bit C3D 2017
4 REPLIES 4
Message 2 of 5
maherich
in reply to: nwray

Hi,

why do ou want to make the lable a part of the block? Isn't it more easier to create a lable in theme?

Martin

Message 3 of 5
Murph_Map
in reply to: nwray

Map anno blocks do not work on FDO features. If you keep the points as AutoCAD objects w/ OD you can theme them with the anno blocks and set the colors based on the OD.

To use them as SDF features (FDO) you need to also create labels along with the style.

Murph
Supporting the troops daily.
Message 4 of 5
nwray
in reply to: maherich


@maherich wrote:

Hi,

why do you want to make the label a part of the block? Isn't it more easier to create a label in theme?

Martin


Hi Martin,

 

No particular reason to make the label as part of the block, it's just the way that I normally use annotations.  I was originally going to use the labeling feature in the theme style options, but it would not allow me to specify the placement of the text (the placement options were grayed out), and I did not like where it was inserting the text.

 

Norm

GIS Specialist

BOXX Technologies APEXX 2 2402 Workstation
Intel Core i7-6700K @ 4.4 GHz
32 GB RAM / 500 GB SSD
NVIDIA Quadro M2000 Graphics
Windows 7 Pro 64 bit C3D 2017
Message 5 of 5
nwray
in reply to: Murph_Map

Hi Murph,

 

Thanks for the info; didn't realize that you couldn't use annotations on FDO objects.  I ended up keeping them as CAD features and using an annotation block with text to get them to display (like you suggested).  I had never dynamically adjusted the color of a block in an annotation before, but I was able to work it out.

 

Norm

GIS Specialist

BOXX Technologies APEXX 2 2402 Workstation
Intel Core i7-6700K @ 4.4 GHz
32 GB RAM / 500 GB SSD
NVIDIA Quadro M2000 Graphics
Windows 7 Pro 64 bit C3D 2017

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

Post to forums  

Autodesk Design & Make Report

”Boost