altium-to-circuit-json 0.0.95 → 0.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2027,6 +2027,9 @@ function associateNoErcMarkerWithPortAtAnchor({
|
|
|
2027
2027
|
}
|
|
2028
2028
|
|
|
2029
2029
|
// lib/schematic/document/shouldRenderSchematicRecord.ts
|
|
2030
|
+
import {
|
|
2031
|
+
AltiumSchImplementationParameterRecord
|
|
2032
|
+
} from "altiumts";
|
|
2030
2033
|
function shouldRenderSchematicRecord(record, context) {
|
|
2031
2034
|
let ownerPartId = record.getNumber("OWNERPARTID");
|
|
2032
2035
|
let ownerPartDisplayMode = record.getNumber("OWNERPARTDISPLAYMODE");
|
|
@@ -2036,6 +2039,7 @@ function shouldRenderSchematicRecord(record, context) {
|
|
|
2036
2039
|
visited.add(current);
|
|
2037
2040
|
const parent = context.document.getParent(current);
|
|
2038
2041
|
if (!parent) return true;
|
|
2042
|
+
if (parent instanceof AltiumSchImplementationParameterRecord) return false;
|
|
2039
2043
|
if (ownerPartId === void 0 || ownerPartId <= 0) {
|
|
2040
2044
|
ownerPartId = current.getNumber("OWNERPARTID");
|
|
2041
2045
|
}
|