Dynamo Conduit by CAD lines

I am facing a issue while creating Conduit by Lines
When the CAD file is input insertion units as inches(large in size from actual units mm)
All the conduits are being created but
when the same is done with insertion units in mm(Actual size of CAD file) all conduits are not being created.
I have attached the script
Can anyone help with this?

When in mm

When in large size with inches all conduits appear. Also tried by scaling the conduits are not created

@kumar ,

Did you check list-level?

Yes its perfect
The script sometimes excute perfectly but most times it malfunctions