Author Topic: Who has experience with Fields and Blocks?  (Read 1108 times)

0 Members and 1 Guest are viewing this topic.

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Who has experience with Fields and Blocks?
« on: May 13, 2016, 12:47:56 AM »
Anyone have experience using fields in blocks to reference other objects?  I've been trying to create a routine that will insert a block, and instead of a text string in the attribute place a field. Said field though, is the polyline's elevation.  When I try though, it doesn't seem to hold the value...eventually reverting to ####
« Last Edit: May 13, 2016, 07:05:18 PM by Area51Visitor »

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: Who has experience with Fields and Blocks?
« Reply #1 on: May 13, 2016, 07:32:40 PM »
When populating attributes with Field Expressions, you may need to use the UPDATEFIELD command or a Regen in order for the Field to display (assuming the Field Expression is correct with a valid Object ID).

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Re: Who has experience with Fields and Blocks?
« Reply #2 on: May 13, 2016, 09:36:43 PM »
Thanks Lee...

(vl-load-com) isn't working either :/  throwing a "no function definition: VLAX-GET-ACAD-OBJECT" error when I try to collect objects.

Thinking I need to do a repair

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Re: Who has experience with Fields and Blocks?
« Reply #3 on: May 13, 2016, 10:15:31 PM »
Repair fixed it :/