<?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 Maintaining VBscript in property set code to updated API version - Help in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13319705#M443</link>
    <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm in the process of update my code that worked fine with my C3D 2023 and now adding the code to cover 2025 i've received error messages "PLN is null or empty)" :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cyberflow_0-1739546189313.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1467059iA57034029BC1997D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cyberflow_0-1739546189313.png" alt="cyberflow_0-1739546189313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I've always found that VBscript always execute oddly - Might be an impression or i'm just really missing something here ...&lt;BR /&gt;&lt;BR /&gt;I've adjusted/added lines 14 to 18 :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Dim oCivilApp, oDocument, oPipeNetworks, oPipeNetwork, oPipe, oNetworkObjectID, found, InputHandle, sPipeNetworkName, sAcadVer
Dim fs, logFile, sC3DVer

RESULT = "--"
On Error Resume Next

InputHandle = "[Handle]" ' Replace with the actual handle you want to search for
found = False

' Initialize the AutoCAD application object
Set oApp = GetObject(, "AutoCAD.Application")
sAcadVer = oApp.Version

If InStr(sAcadVer, "25.0") &amp;gt; 0 Then
	sC3DVer = "13.7"
ElseIf InStr(sAcadVer, "24.3") &amp;gt; 0  Then
	sC3DVer = "13.6"
ElseIf InStr(sAcadVer, "24.2") &amp;gt; 0  Then
	sC3DVer = "13.5"
ElseIf InStr(sAcadVer, "24.1") &amp;gt; 0  Then
	sC3DVer = "13.4"
ElseIf InStr(sAcadVer, "24.0") &amp;gt; 0  Then
	sC3DVer = "13.3"
ElseIf InStr(sAcadVer, "23.1") &amp;gt; 0  Then
	sC3DVer = "13.2"
ElseIf InStr(sAcadVer, "23.0") &amp;gt; 0  Then
	sC3DVer = "13.1"
End if

Dim interfaceVersion
interfaceVersion = "AeccXUiPipe.AeccPipeApplication." &amp;amp; sC3DVer
Set oCivilApp = oApp.GetInterfaceObject(interfaceversion)

' Access the active document
On Error Resume Next
Set oDocument = oCivilApp.ActiveDocument

' Get the pipe networks collection
Set oPipeNetworks = oDocument.PipeNetworks

' Iterate through pipe networks
For Each oPipeNetwork In oPipeNetworks   
    If Not IsNull(oPipeNetwork.Pipes) And Not IsEmpty(oPipeNetwork.Pipes) Then
        For Each oPipe In oPipeNetwork.Pipes
            If oPipe.Handle = InputHandle Then
                sPipeNetworkName = oPipeNetwork.Name
                found = True
                Exit For
            End If
        Next
    End If
    If found Then
        Exit For
    End If
Next

    If Not IsNull(oPipeNetwork) Then
        Set PLN = oPipeNetwork.ReferencePartList
        ' Check if part list is valid
        If Not IsNull(PLN) And Not IsEmpty(PLN) Then
                ' Determine result based on part list name
                 Select Case PLN.Name
	Case "AIR COMPRIMÉ EXISTANT"
		RESULT = "AIR COMPRIMÉ EXISTANT"
	Case "AIR COMPRIMÉ PROPOSÉ"
		RESULT = "AIR COMPRIMÉ PROPOSÉ"
	Case "AQUEDUC DÉMOLITION", "AQUEDUC DÉSAFFECTER", "AQUEDUC EXISTANT", "AQUEDUC PROPOSE", "AQUEDUC FUTURE"
		RESULT = "A"
	Case "GAZ EXISTANT"
		RESULT = "G"
                    Case "PLUVIAL EXISTANT", "PLUVIAL PROPOSE", "PLUVIAL DÉMOLITION", "PLUVIAL DÉSAFFECTER", "PLUVIAL FUTURE", "PONCEAU EXISTANT", "PONCEAU PROPOSE"
                        RESULT = "P"
                    Case "REFOULEMENT PLUVIAL EXISTANT", "REFOULEMENT PLUVIAL PROPOSE"
                        RESULT = "RFP"
                    Case "REFOULEMENT SANITAIRE EXISTANT", "REFOULEMENT SANITAIRE PROPOSE"
                        RESULT = "RFS"
                    Case "REFOULEMENT UNITAIRE EXISTANT", "REFOULEMENT UNITAIRE PROPOSE"
                        RESULT = "RFU"
                    Case "SANITAIRE EXISTANT", "SANITAIRE PROPOSE", "SANITAIRE DÉMOLITION", "SANITAIRE DÉSAFFECTER", "SANITAIRE FUTURE"
                        RESULT = "S"
                    Case "UNITAIRE EXISTANT", "UNITAIRE PROPOSE", "UNITAIRE DÉMOLITION", "UNITAIRE DÉSAFFECTER", "UNITAIRE FUTURE"
                        RESULT = "U"
					Case "MASSIF ÉLECTRIQUE EXISTANT (BÉTON ARMÉ)", "MASSIF ÉLECTRIQUE EXISTANT (BÉTON)", "MASSIF ÉLECTRIQUE PROPOSE (BÉTON ARMÉ)", "MASSIF ÉLECTRIQUE PROPOSÉ (BÉTON)"
						RESULT = "MASSIF ÉLEC."
					Case "MASSIF FIBRE OPTIQUE EXISTANT (BÉTON ARMÉ)", "MASSIF FIBRE OPTIQUE EXISTANT (BÉTON)", "MASSIF FIBRE OPTIQUE PROPOSE (BÉTON ARMÉ)", "MASSIF FIBRE OPTIQUE PROPOSE (BÉTON)"
						RESULT = "MASSIF FIBRE OPTIQUE"
					Case "MASSIF TÉLÉPHONIE EXISTANT (BÉTON ARMÉ)", "MASSIF TÉLÉPHONIE EXISTANT (BÉTON)", "MASSIF TÉLÉPHONIE PROPOSE (BÉTON ARMÉ)", "MASSIF TÉLÉPHONIE PROPOSE (BÉTON)"
						RESULT = "MASSIF TEL."
                    Case Else
                        RESULT = "--"
                End Select
            'Else
                'RESULT = "PLN.Name is not a string. It is a " &amp;amp; TypeName(PLN.Name)
            'End If
        Else
            RESULT = "PLN is null or empty"
        End If
    Else
        RESULT = "Object not retrieved from handle"
    End If&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Anyone see's something i'm missing out here ?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2025 15:16:45 GMT</pubDate>
    <dc:creator>cyberflow</dc:creator>
    <dc:date>2025-02-14T15:16:45Z</dc:date>
    <item>
      <title>Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13319705#M443</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm in the process of update my code that worked fine with my C3D 2023 and now adding the code to cover 2025 i've received error messages "PLN is null or empty)" :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cyberflow_0-1739546189313.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1467059iA57034029BC1997D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cyberflow_0-1739546189313.png" alt="cyberflow_0-1739546189313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I've always found that VBscript always execute oddly - Might be an impression or i'm just really missing something here ...&lt;BR /&gt;&lt;BR /&gt;I've adjusted/added lines 14 to 18 :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Dim oCivilApp, oDocument, oPipeNetworks, oPipeNetwork, oPipe, oNetworkObjectID, found, InputHandle, sPipeNetworkName, sAcadVer
Dim fs, logFile, sC3DVer

RESULT = "--"
On Error Resume Next

InputHandle = "[Handle]" ' Replace with the actual handle you want to search for
found = False

' Initialize the AutoCAD application object
Set oApp = GetObject(, "AutoCAD.Application")
sAcadVer = oApp.Version

If InStr(sAcadVer, "25.0") &amp;gt; 0 Then
	sC3DVer = "13.7"
ElseIf InStr(sAcadVer, "24.3") &amp;gt; 0  Then
	sC3DVer = "13.6"
ElseIf InStr(sAcadVer, "24.2") &amp;gt; 0  Then
	sC3DVer = "13.5"
ElseIf InStr(sAcadVer, "24.1") &amp;gt; 0  Then
	sC3DVer = "13.4"
ElseIf InStr(sAcadVer, "24.0") &amp;gt; 0  Then
	sC3DVer = "13.3"
ElseIf InStr(sAcadVer, "23.1") &amp;gt; 0  Then
	sC3DVer = "13.2"
ElseIf InStr(sAcadVer, "23.0") &amp;gt; 0  Then
	sC3DVer = "13.1"
End if

Dim interfaceVersion
interfaceVersion = "AeccXUiPipe.AeccPipeApplication." &amp;amp; sC3DVer
Set oCivilApp = oApp.GetInterfaceObject(interfaceversion)

' Access the active document
On Error Resume Next
Set oDocument = oCivilApp.ActiveDocument

' Get the pipe networks collection
Set oPipeNetworks = oDocument.PipeNetworks

' Iterate through pipe networks
For Each oPipeNetwork In oPipeNetworks   
    If Not IsNull(oPipeNetwork.Pipes) And Not IsEmpty(oPipeNetwork.Pipes) Then
        For Each oPipe In oPipeNetwork.Pipes
            If oPipe.Handle = InputHandle Then
                sPipeNetworkName = oPipeNetwork.Name
                found = True
                Exit For
            End If
        Next
    End If
    If found Then
        Exit For
    End If
Next

    If Not IsNull(oPipeNetwork) Then
        Set PLN = oPipeNetwork.ReferencePartList
        ' Check if part list is valid
        If Not IsNull(PLN) And Not IsEmpty(PLN) Then
                ' Determine result based on part list name
                 Select Case PLN.Name
	Case "AIR COMPRIMÉ EXISTANT"
		RESULT = "AIR COMPRIMÉ EXISTANT"
	Case "AIR COMPRIMÉ PROPOSÉ"
		RESULT = "AIR COMPRIMÉ PROPOSÉ"
	Case "AQUEDUC DÉMOLITION", "AQUEDUC DÉSAFFECTER", "AQUEDUC EXISTANT", "AQUEDUC PROPOSE", "AQUEDUC FUTURE"
		RESULT = "A"
	Case "GAZ EXISTANT"
		RESULT = "G"
                    Case "PLUVIAL EXISTANT", "PLUVIAL PROPOSE", "PLUVIAL DÉMOLITION", "PLUVIAL DÉSAFFECTER", "PLUVIAL FUTURE", "PONCEAU EXISTANT", "PONCEAU PROPOSE"
                        RESULT = "P"
                    Case "REFOULEMENT PLUVIAL EXISTANT", "REFOULEMENT PLUVIAL PROPOSE"
                        RESULT = "RFP"
                    Case "REFOULEMENT SANITAIRE EXISTANT", "REFOULEMENT SANITAIRE PROPOSE"
                        RESULT = "RFS"
                    Case "REFOULEMENT UNITAIRE EXISTANT", "REFOULEMENT UNITAIRE PROPOSE"
                        RESULT = "RFU"
                    Case "SANITAIRE EXISTANT", "SANITAIRE PROPOSE", "SANITAIRE DÉMOLITION", "SANITAIRE DÉSAFFECTER", "SANITAIRE FUTURE"
                        RESULT = "S"
                    Case "UNITAIRE EXISTANT", "UNITAIRE PROPOSE", "UNITAIRE DÉMOLITION", "UNITAIRE DÉSAFFECTER", "UNITAIRE FUTURE"
                        RESULT = "U"
					Case "MASSIF ÉLECTRIQUE EXISTANT (BÉTON ARMÉ)", "MASSIF ÉLECTRIQUE EXISTANT (BÉTON)", "MASSIF ÉLECTRIQUE PROPOSE (BÉTON ARMÉ)", "MASSIF ÉLECTRIQUE PROPOSÉ (BÉTON)"
						RESULT = "MASSIF ÉLEC."
					Case "MASSIF FIBRE OPTIQUE EXISTANT (BÉTON ARMÉ)", "MASSIF FIBRE OPTIQUE EXISTANT (BÉTON)", "MASSIF FIBRE OPTIQUE PROPOSE (BÉTON ARMÉ)", "MASSIF FIBRE OPTIQUE PROPOSE (BÉTON)"
						RESULT = "MASSIF FIBRE OPTIQUE"
					Case "MASSIF TÉLÉPHONIE EXISTANT (BÉTON ARMÉ)", "MASSIF TÉLÉPHONIE EXISTANT (BÉTON)", "MASSIF TÉLÉPHONIE PROPOSE (BÉTON ARMÉ)", "MASSIF TÉLÉPHONIE PROPOSE (BÉTON)"
						RESULT = "MASSIF TEL."
                    Case Else
                        RESULT = "--"
                End Select
            'Else
                'RESULT = "PLN.Name is not a string. It is a " &amp;amp; TypeName(PLN.Name)
            'End If
        Else
            RESULT = "PLN is null or empty"
        End If
    Else
        RESULT = "Object not retrieved from handle"
    End If&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Anyone see's something i'm missing out here ?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 15:16:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13319705#M443</guid>
      <dc:creator>cyberflow</dc:creator>
      <dc:date>2025-02-14T15:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13322935#M444</link>
      <description>&lt;P&gt;Do you have a small example drawing available?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 09:13:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13322935#M444</guid>
      <dc:creator>Anton_Huizinga</dc:creator>
      <dc:date>2025-02-17T09:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324076#M445</link>
      <description>&lt;P&gt;For some obscur reason, last week my update didnt work but today it works without any issues :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Update portion :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;If InStr(sAcadVer, "25.0") &amp;gt; 0 Then
	sC3DVer = "13.7"
ElseIf InStr(sAcadVer, "24.3") &amp;gt; 0  Then
	sC3DVer = "13.6"
ElseIf InStr(sAcadVer, "24.2") &amp;gt; 0  Then
	sC3DVer = "13.5"
ElseIf InStr(sAcadVer, "24.1") &amp;gt; 0  Then
	sC3DVer = "13.4"
ElseIf InStr(sAcadVer, "24.0") &amp;gt; 0  Then
	sC3DVer = "13.3"
ElseIf InStr(sAcadVer, "23.1") &amp;gt; 0  Then
	sC3DVer = "13.2"
ElseIf InStr(sAcadVer, "23.0") &amp;gt; 0  Then
	sC3DVer = "13.1"
End if&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 17 Feb 2025 20:22:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324076#M445</guid>
      <dc:creator>cyberflow</dc:creator>
      <dc:date>2025-02-17T20:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324106#M446</link>
      <description>&lt;P&gt;Ah, I think I know what happened. You probably had Civil 3D 2023 and 2025 open at the same time. It is very weird but then the VB code in 2025 thinks it is running in 2023.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you need to close one of the Civil 3D versions to avoid this problem.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 20:36:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324106#M446</guid>
      <dc:creator>Anton_Huizinga</dc:creator>
      <dc:date>2025-02-17T20:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324124#M447</link>
      <description>&lt;P&gt;Ahhh that makes sens Anton - I was working several things last week.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 20:49:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324124#M447</guid>
      <dc:creator>cyberflow</dc:creator>
      <dc:date>2025-02-17T20:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324313#M448</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1948693"&gt;@Anton_Huizinga&lt;/a&gt;&amp;nbsp;In the attached dwg there is a PSet Style named BaseObjects with 1 PsetDefinition AcadBase. I have it attached to the single line object in the dwg. This works fine in every release I've used it except C3D 2025. There are no other instances of AutoCAD running. Any idea why I cannot get this, or&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1657496"&gt;@cyberflow&lt;/a&gt;&amp;nbsp;s, code to work in 2025?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 22:49:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324313#M448</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2025-02-17T22:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324814#M449</link>
      <description>&lt;P&gt;Here it works fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anton_Huizinga_0-1739860874229.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468063i5F69DD6E7775DB3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anton_Huizinga_0-1739860874229.png" alt="Anton_Huizinga_0-1739860874229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are sure you only have Civil 3D 2025 open?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 06:41:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13324814#M449</guid>
      <dc:creator>Anton_Huizinga</dc:creator>
      <dc:date>2025-02-18T06:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326056#M450</link>
      <description>&lt;P&gt;Yep, only Civil 3D 2025 is open:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-18_09-30-04.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468299i5DECD25E4C00EC24/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-02-18_09-30-04.png" alt="2025-02-18_09-30-04.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I also noticed that I was running with Update 1 installed. So I grabbed Update 2, installed that, still getting the error. I also have the AutoCAD 2025 1.1 update installed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not actually use PropertySets, however I do help others with creating, maintaining, and writing code to get/put data from/to PropertySets, so using a different release is not a big issue. I just find it rather odd that I can work with with them in Civil 3D 2021 through 2024 without a problem but 2025 throws a fit. I guess my next step would be a full uninstall/reinstall...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 17:57:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326056#M450</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2025-02-18T17:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326135#M451</link>
      <description>&lt;P&gt;Actually, it does not give an error, but the function is returned as string instead of an evaluated function. I've seen this before, and someone thought it happened when Windows 11 was installed on a computer that already had Civil 3D 2025. After a full reinstall of 2025, the function was processed instead of returned as string.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 18:54:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326135#M451</guid>
      <dc:creator>Anton_Huizinga</dc:creator>
      <dc:date>2025-02-18T18:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326140#M452</link>
      <description>&lt;P&gt;Thanks! You can set my answer as solution &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 18:55:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326140#M452</guid>
      <dc:creator>Anton_Huizinga</dc:creator>
      <dc:date>2025-02-18T18:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326179#M453</link>
      <description>&lt;P&gt;Yes, I've seen that Win11 note as well. However, this laptop came with Win 11 on it so all Civil 3D release I have here were installed into Win 11. However, I know that there were some issues with other things after installing one of the major Win 11 updates. One of those was that the ability to add/edit pipes was lost due to a msscript.ocx error. I just started seeing that today in 2025&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":tired_face:"&gt;😫&lt;/span&gt; so I guess that reinstall will be happening in the next day or two.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 19:09:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326179#M453</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2025-02-18T19:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326209#M454</link>
      <description>&lt;P&gt;Subscribing to this thread.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":eyes:"&gt;👀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 19:28:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326209#M454</guid>
      <dc:creator>hippe013</dc:creator>
      <dc:date>2025-02-18T19:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326432#M455</link>
      <description>&lt;P&gt;UPDATE:&amp;nbsp; After uninstalling Civil 3D 2025, restarting the PC, Installing Civil 3D 2025, restarting, installing Update 2 (I skipped the update 1, the readme for update 2 did not state whether update 1 must be installed first), fired up Civil 3D 2025 and all is well again. The PSet code works, I can create &amp;amp; edit pipes, and it loads fast again. It had been sticking on loading the&amp;nbsp;AeccUiModel.arx file for 2-3 minutes for the past month.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 21:42:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13326432#M455</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2025-02-18T21:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328014#M456</link>
      <description>&lt;P&gt;My topic was more on a way to to automaticly get the Acad version and C3D version automaticly without needing to update the VBscript code each time a new version is out of C3D &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 14:43:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328014#M456</guid>
      <dc:creator>cyberflow</dc:creator>
      <dc:date>2025-02-19T14:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328197#M457</link>
      <description>&lt;P&gt;Ah, I misunderstood that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 15:57:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328197#M457</guid>
      <dc:creator>Anton_Huizinga</dc:creator>
      <dc:date>2025-02-19T15:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328559#M458</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1657496"&gt;@cyberflow&lt;/a&gt;&amp;nbsp;Sorry for hijacking your thread. As for your initial question "is there&amp;nbsp;&lt;SPAN&gt;a way to to automaticly get the Acad version and C3D version automaticly without needing to update the VBscript code each time a new version is out of C3D"...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have tried to use what I have been using in my .NET apps to achieve this without success.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, I have found a method that does work! Stay tuned...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 18:33:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328559#M458</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2025-02-19T18:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328669#M459</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1657496"&gt;@cyberflow&lt;/a&gt;&amp;nbsp;&amp;nbsp;To minimize the amount of maintenance to PropertySet VBScript code I have devised a method which is working well in my initial testing. It involves having an Autoloader bundle which creates a new Sysvar "AECCVER" which is saved to the Registry and is accessible by all users on that computer. There is one entry per C3D Release in the PackageContents.xml file. Once the AECCVER Sysvar is set then the VBScript code never needs updating when using these PSet definitions:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-19_10-41-31.png" style="width: 448px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468858i139472C05038B595/image-dimensions/448x256?v=v2" width="448" height="256" role="button" title="2025-02-19_10-41-31.png" alt="2025-02-19_10-41-31.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-19_10-42-12.png" style="width: 470px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468861i6AC66D568A461949/image-dimensions/470x221?v=v2" width="470" height="221" role="button" title="2025-02-19_10-42-12.png" alt="2025-02-19_10-42-12.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-19_10-42-31.png" style="width: 456px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468862i9E78449E1EE799E5/image-dimensions/456x223?v=v2" width="456" height="223" role="button" title="2025-02-19_10-42-31.png" alt="2025-02-19_10-42-31.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-19_11-12-46.png" style="width: 501px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468863i61E9A15171B38182/image-dimensions/501x243?v=v2" width="501" height="243" role="button" title="2025-02-19_11-12-46.png" alt="2025-02-19_11-12-46.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is a portion of the PackageContents file for C3D 2023 &amp;amp; 2024:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;  &amp;lt;Components Description="C3D 2023"&amp;gt;
    &amp;lt;SystemVariables&amp;gt;
      &amp;lt;SystemVariable Flags="Create" Name="AECCVER" Owner="" PrimaryType="String" StorageType="User" Value="13.5"&amp;gt;&amp;lt;/SystemVariable&amp;gt;
    &amp;lt;/SystemVariables&amp;gt;
    &amp;lt;RegistryEntries&amp;gt;
      &amp;lt;RegistryEntry Key="Variables\AECCVER" Value="13.5" Type="REG_SZ" Flags="Create|Open"&amp;gt;&amp;lt;/RegistryEntry&amp;gt;
    &amp;lt;/RegistryEntries&amp;gt;
    &amp;lt;RuntimeRequirements OS="Win64" Platform="Civil3D" SeriesMin="R24.2" SeriesMax="R24.2" /&amp;gt;
  &amp;lt;/Components&amp;gt;
  &amp;lt;Components Description="C3D 2024"&amp;gt;
    &amp;lt;SystemVariables&amp;gt;
      &amp;lt;SystemVariable Flags="Create" Name="AECCVER" Owner="" PrimaryType="String" StorageType="User" Value="13.6"&amp;gt;&amp;lt;/SystemVariable&amp;gt;
    &amp;lt;/SystemVariables&amp;gt;
    &amp;lt;RegistryEntries&amp;gt;
      &amp;lt;RegistryEntry Key="Variables\AECCVER" Value="13.6" Type="REG_SZ" Flags="Create|Open"&amp;gt;&amp;lt;/RegistryEntry&amp;gt;
    &amp;lt;/RegistryEntries&amp;gt;
    &amp;lt;RuntimeRequirements OS="Win64" Platform="Civil3D" SeriesMin="R24.3" SeriesMax="R24.3" /&amp;gt;
  &amp;lt;/Components&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 19:34:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328669#M459</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2025-02-19T19:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328933#M460</link>
      <description>&lt;P&gt;Attached is an autoloader bundle which creates the proper AeccVer sysvar for C3D2020-2025. This would be the only file that would need to be edited for future release support. I suggest placing the bundle in the C:\Program Files (x86)\Autodesk\ApplicationPlugins folder.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 22:11:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13328933#M460</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2025-02-19T22:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13329505#M461</link>
      <description>&lt;P&gt;That is a really cool trick!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I've not tested yet, but what happens if you send the drawing to someone else without the bundle? Is the variable saved in the drawing as user variable?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 10:50:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13329505#M461</guid>
      <dc:creator>Anton_Huizinga</dc:creator>
      <dc:date>2025-02-20T10:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Maintaining VBscript in property set code to updated API version - Help</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13330480#M462</link>
      <description>&lt;P&gt;Awesome stuff&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/32637"&gt;@Jeff_M&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;&lt;BR /&gt;No worries, ill let you two talk and if i could wouldve brought you beers to listen both of you talk about this and learn !&lt;BR /&gt;&lt;BR /&gt;Ill try to test that workflow&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 16:07:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/maintaining-vbscript-in-property-set-code-to-updated-api-version/m-p/13330480#M462</guid>
      <dc:creator>cyberflow</dc:creator>
      <dc:date>2025-02-20T16:07:53Z</dc:date>
    </item>
  </channel>
</rss>

