Thanks alot @david_licona Got to know the mistake i was doing, so to summaries my understanding one need to use Importstock and importsubassembly node to assign it to the assembly both inbuilt and custom subassemblies respectively, irrespective of it is being imported in your toolpalettes.
Continuing the discussion from Please tell me how to use the Assembly.AddSubAssembly node:
Was able to get it working for civil 3D stock subassemblies but getting attached error for custom subassembly (log file is also attached). Autodesk_Civil3DToolkit.txt (13.6 KB)
Parameter name: fileName at Autodesk.Civil.Checker.CheckArgExistingFileName(String fileName, String fileExtensions)
- at Autodesk.Civil.DatabaseServices.SubassemblyCollection.ImportSubassembly(String subassemblyName, String atcFilePath, String itemId, Point3d location)*
- at Autodesk.Civil.DynamoNodes.CorridorExtensions.Subassembly.ImportSubassembly(String toolName, String name, Point location) in D:_Civil3D\Civil3DToolkit\Civil3DToolkit\src\Autodesk.Civil3DToolkit\Civil3DToolkit\Civil3D\Assembly.cs:line 1151*
[2/27/2021 11:22:31 AM] ERROR: Could not find unassigned subassembly ‘JENG_GG184_General_Carriageway’
[2/27/2021 11:24:40 AM] ERROR: Could not find unassigned subassembly ‘JENG_GG184_General_Carriageway’