The path is not of a legal form

Dear all,

I receive the following mistake:
ERROR: Mass.GetFamilyDocument The path is not of a legal form.
What is wrong with this path? Thanks for any help.

Hi @mtanyer ,

Could you share what all the inputs are and where the error occurs? Also, please zoom in whilst taking a screenshot, the node name(s) are not visible now.

Hi Daan,
This error appears when I try to create a Revit family of my Civil 3D Baseline using CivilConnection 6.0.0.
The created family is empty and I realized a “CivilConnection_temp.log” at the same directory where the family is created.
I have seen this error in this log file.
Screen shots are attached.
Thanks

Did you edit the screenshot to remove part of the path to the new family, or is it actually

c:\users\ \appdata\…

If the former it may be that there is a special character in the hidden portion which is causing an issue. If the later my guess is that there is an issue with your installation somewhere as that path should be invalid.

Hi Jacob,
I have deleted my user name from the path after I have captured the screen shot.
The path is the temp folder of my user name.
The family file is created on this local temp folder.

I believe the path for the adaptive family is causing the problem; but it is correct:
C:\ProgramData\Autodesk\RVT 2024\Family Templates\English\Metric Generic Model Adaptive.rft

Ok, and when you run the graph does the failing node have valid inputs elsewhere? Put a watch node on canvas to show the names, shapes, and stations as a next step.

The watch nodes are attached. I think there is no problem with names, shapes, and stations.

According to the error message, the problem should be related with the path of the family. But what is wrong?
ERROR: Mass.GetFamilyDocument The path is not of a legal form.

Ok, not a Dynamo one but looks to be related to civil connection. Got two options from here.

  1. Try to recreate the issue with a simplified data set and post those files so others can review in a failing context.
  2. Create an issue on the civil connection Github, including the log as currently generated.

Thanks Jacob,
I have created an issue on the civil connection Github. Let’s see what’s going on.
Regards,