<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Formula Property Definition using Object Data in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8228057#M11182</link>
    <description>&lt;P&gt;Interesting. So with Lisp routines are you still getting that data from the MLeader into the property set definitions that are attached back into the polylines?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Aug 2018 20:26:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-27T20:26:31Z</dc:date>
    <item>
      <title>Formula Property Definition using Object Data</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8095209#M11179</link>
      <description>&lt;P&gt;hello,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am looking to pull OD into a VBA for Formula Property Definition&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is what i was trying to use - "fqn_id" being the field to pull OD records from&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;RESULT="--"
ON ERROR RESUME NEXT 

Dim ODrcs As ODRecords
Set amap = ThisDrawing.Application.GetInterfaceObject("AutoCADMap.Application")
Set ODrcs = amap.Projects.Item(ThisDrawing).ODTables.Item("FQN_ID").GetODRecords 

RESULT= ODrcs &lt;/PRE&gt;&lt;P&gt;but that doesn't work&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have loads of data stored in PLines from GIS Files brought in with MapImport and we need to get that data to the Property Set so we can use it with Civil3d labels and tables&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any advice on this would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 14:49:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8095209#M11179</guid>
      <dc:creator>dwattersAMXH5</dc:creator>
      <dc:date>2018-06-27T14:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Property Definition using Object Data</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8227997#M11180</link>
      <description>&lt;P&gt;I am also curious about this. Is there a formula that will take object data field to a property set field? I am kind of in the same situation as the OP above.&lt;/P&gt;&lt;P&gt;Thanks for any insight...&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 20:03:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8227997#M11180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-27T20:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Property Definition using Object Data</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8228005#M11181</link>
      <description>&lt;P&gt;this is possible, though i dont know the exact for how.&amp;nbsp;&lt;BR /&gt;but with using C# a program can be made to do it as both sets of data are accessible by .net&amp;nbsp;&lt;BR /&gt;you would need to know some about computer programming or find a programmer who can learn enough about CAD to do it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;i found also though that Object Data can be accessed by lisp routines and i ended up creating a few lisps to make mleaders with the data i want out of the object data tables, then another lisp to recreate the mleader if you change the info in the object data table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 20:07:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8228005#M11181</guid>
      <dc:creator>dwattersAMXH5</dc:creator>
      <dc:date>2018-08-27T20:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Property Definition using Object Data</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8228057#M11182</link>
      <description>&lt;P&gt;Interesting. So with Lisp routines are you still getting that data from the MLeader into the property set definitions that are attached back into the polylines?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 20:26:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8228057#M11182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-27T20:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Property Definition using Object Data</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8228072#M11183</link>
      <description>&lt;P&gt;no,&amp;nbsp; i only wanted them in property set data to create labels with (wanted to use label templates in civil3d) but with the mleaders pulling the data and being able to set up the mleader how i want it, the lisp solves my problem. but i cant use civil3d tables this way.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 20:29:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8228072#M11183</guid>
      <dc:creator>dwattersAMXH5</dc:creator>
      <dc:date>2018-08-27T20:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Property Definition using Object Data</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8229850#M11184</link>
      <description>&lt;P&gt;Object Data and PropertySet data are 2 different mechanisms to attaching atribute data to entities, as you know. While PropertySet supports Formula property, OD does not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume your interest is in situation like: entities have OD data attached; you also have PropertSet defined in the drawing, with some formula property, or properties; then you want to attach the propertyset to entities and the formula property would take data from OD data as the formula input.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd say this would be doable, if you know how to access PropertySet and OD. AFAIK, there is no COM API support to access PropertySet data (I am not 100% sure, though), you probably cannot do it via VBA.&amp;nbsp;If you have experience with AutoCAD/Map/Civil3D .NET APIs, you should be able to do it. There are previous discussions on this top with&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5054491"&gt;@dwattersAMXH5&lt;/a&gt;&amp;nbsp;involved that may give you more information:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-basic-customization/pulling-object-data-and-writing-property-set-data/td-p/8094815?_ga=2.202476881.1703295511.1535461835-1675936738.1531567670" target="_blank"&gt;https://forums.autodesk.com/t5/visual-basic-customization/pulling-object-data-and-writing-property-set-data/td-p/8094815?_ga=2.202476881.1703295511.1535461835-1675936738.1531567670&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/civil-3d-customization/property-sets-lt-gt-object-data-sonverter/m-p/8062357#M14984" target="_blank"&gt;https://forums.autodesk.com/t5/civil-3d-customization/property-sets-lt-gt-object-data-sonverter/m-p/8062357#M14984&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 14:07:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/formula-property-definition-using-object-data/m-p/8229850#M11184</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2018-08-28T14:07:36Z</dc:date>
    </item>
  </channel>
</rss>

