-
Notifications
You must be signed in to change notification settings - Fork 3
2017 API dlibrary.vectorworks.CorrectVsFilepath
Dieter Geerts edited this page Sep 24, 2016
·
1 revision
Decorator to correct file paths from old vs calls that use HFS paths on MacOS.
Patrick Stanford [email protected] on the VectorScript Discussion List:
Since Mac OS 10, as they're rewritten it using UNIX kernel, the mac uses Posix natively. Since VW predates that, the old calls use HFS paths and need to be converted for newer APIs. You can ask VW to do the conversion, as simply replacing the characters are not enough (Posix uses volume mounting instead of drive names). This can be done through vs.ConvertHSF2PosixPath().
- object The most base type