드로잉
드로잉은 부품 및 CAD 문서 모두에 대한 CAD 드로잉 목록을 표시하는 항목 목록 구성 요소의 사전 정의된 구성입니다. 드로잉에는 항목 목록과 유사한 검색, 정렬, 필터링 및 기본값 복원 기능이 있습니다. 각 드로잉에 대해 드로잉에는 구성을 통해 선택할 수 있는 속성이 표시됩니다. 기본 속성은 이름, 형식, 버전 및 최종 수정 날짜이며, 여기서 이름과 형식은 드로잉의 사용자 지정 속성입니다. 이름에는 드로잉을 다운로드할 수 있는 링크가 포함되어 있고 형식에는 다운로드할 수 있는 다른 형식의 드롭다운 메뉴가 포함되어 있습니다.
다음은 드로잉의 사전 정의된 구성을 보여주는 두 가지 샘플 이미지입니다.
드로잉 보기 작업에서 드로잉 구성 요소의 스크린샷
사용 가능한 형식 드롭다운 메뉴의 확장된 모습을 보여주는 드로잉 보기 작업에서 드로잉 구성 요소의 스크린샷
바인딩 등록 정보 
드로잉 바인딩에 대한 자세한 내용은 항목 목록 구성 요소를 참조하십시오.
* 
드로잉의 경우 입력 바인딩 등록 정보는 PTC.CADDocumentMgmt.CADDocumentPTC.ProdMgmt.Part 객체 유형을 지원합니다.
selectedItems 바인딩 등록 정보 출력에는 PTC.CADDocumentMgmt.CADDocument 객체 유형이 있는 항목이 포함되어 있습니다.
구성 등록 정보 
드로잉에 사용할 수 있는 모든 구성 등록 정보 목록은 항목 목록 구성 요소에 대한 구성 등록 정보 표를 참조하십시오. 다음 표에서는 구성 등록 정보와 관련하여 드로잉과 관련된 추가 정보를 제공합니다.
구성 구조에 대한 자세한 내용은 구성 요소 구성 구조를 참조하십시오.
하위 등록 정보에 대한 자세한 내용은 하위 등록 정보 및 컨테이너 키를 참조하십시오.
등록 정보 이름
설명
등록 정보 유형
기본값
필수 사항 또는 선택 사항
drawingFileSelection
검색할 파일 형식을 결정합니다. 옵션:
all - 부품 또는 CAD 문서에 대한 모든 드로잉 파일을 검색합니다.
lastModified - 부품 또는 CAD 문서에 대해 가장 최근에 수정된 드로잉 파일만 검색합니다.
이 구성 등록 정보는 구성 요소 구성의 implementationConfiguration 등록 정보 아래에 배치됩니다.
all
필수 사항
fileFormatsSelection
검색하여 형식 열의 드롭다운 메뉴에 표시할 파일 형식을 결정합니다. 옵션:
specifiedFormats - 지정된 파일 형식만 검색하고 formatsDefinition 등록 정보를 사용하여 포함할 파일 형식을 지정합니다. 파일 형식은 formatsDefinition 등록 정보에 나열된 순서와 동일한 순서로 드롭다운 메뉴에 표시됩니다.
allFormats - 사용 가능한 모든 파일 형식을 검색합니다. 드로잉에 사용할 수 있는 PDF 형식이 있는 경우 이름 열에 PDF를 다운로드할 수 있는 링크가 포함되며 PDF는 드롭다운 메뉴에 첫 번째로 나열되는 형식입니다.
이 구성 등록 정보는 구성 요소 구성의 implementationConfiguration 등록 정보 아래에 배치됩니다.
specifiedFormats
필수 사항
formatsDefinition
검색할 지정된 형식의 목록입니다. 형식은 공백으로 구분해야 합니다. 여기에 나열된 형식의 순서에 따라 형식 열의 드롭다운 메뉴에 표시되는 순서가 결정됩니다.
이 등록 정보는 fileFormatsSelection에 대한 하위 등록 정보이며 fileFormatsSelectionspecifiedFormats로 설정된 경우에만 관련이 있습니다. 컨테이너 키는 implementationConfiguration입니다.
PDF DXF PLT CGM
필수 사항
attributes
자세한 내용은 항목 목록을 참조하십시오.
PTC.CADDocumentMgmt.CADDocument 객체 유형의 속성을 허용합니다.
또한 객체 유형이 NamePTC.CADDocumentMgmt.CADDocument.Custom.ImplementationFormats 속성을 허용합니다.
해당 없음
필수 사항
defaultSortField
자세한 내용은 항목 목록을 참조하십시오.
PTC.CADDocumentMgmt.CADDocumentPTC.CADDocumentMgmt.CADDocument.Custom.Implementation 객체 유형의 속성을 허용합니다.
해당 없음
선택 사항
showImplementationActions
이 등록 정보에 downloadZip 키가 포함된 경우 작업 모음에 포함된 모든 다운로드 버튼이 드로잉에 포함됩니다. 따라서 사용자가 모든 드로잉을 다운로드할 수 있습니다.
downloadZip는 이 등록 정보에 대해 드로잉에서 지원되는 유일한 값입니다.
해당 없음
선택 사항
샘플 구성 
{
"showImplementationActions":{
"selected":[
{
"key":"downloadZip"
}
]
},
"selectionType":{
"selectedKey":"none"
},
"waitForInput":{
"value":true
},
"implementationConfiguration":{
"inTailoring":true,
"value":{
"drawingFileSelection":{
"selectedKey":"all"
},
"fileFormatsSelection":{
"selectedKey":"specifiedFormats",
"additionalData":{
"formatsDefinition":{
"formats":{
"value":"PDF DXF PLT CGM"
}
}
}
}
}
},
"baseConfigurationVersion":{
"value":"nav.3"
},
"implementationConfigurationVersion":{
"value":"nav.2"
},
"defaultSortFields":{
"selectedValues":{
"data":[
{
"itemListsData":[
{
"items":[
{
"additionalData":{
"itemListDefaultSortFieldDefinition":{
"defaultSortDirection":{
"selectedKey":"asc"
}
}
},
"id":"Name"
}
],
"objectType":"PTC.CADDocumentMgmt.CADDocument.Custom.Implementation"
}
],
"adapter":{
"instanceName":"windchill",
"thingName":"PTC.WCAdapter"
}
}
]
}
},
"attributes":{
"selectedValues":{
"data":[
{
"itemListsData":[
{
"items":[
{
"id":"Version",
"ordinal":2
},
{
"id":"LastModified",
"ordinal":3
}
],
"objectType":"PTC.CADDocumentMgmt.CADDocument"
},
{
"items":[
{
"id":"Name",
"ordinal":0
},
{
"id":"Formats",
"ordinal":1
}
],
"objectType":"PTC.CADDocumentMgmt.CADDocument.Custom.Implementation"
}
],
"adapter":{
"instanceName":"windchill",
"thingName":"PTC.WCAdapter"
}
}
]
}
},
"label":{
"value":""
},
"showExportAction":{
"value":false
},
"enableSearch":{
"additionalData":{
"itemListSearchDefinition":{
"searchHintText":{
"value":"[[PTC.Nav.Drawings.FindDrawing]]"
}
}
},
"value":true
}
}
사용자 지정 서비스 
구성 외에도 각 구성 요소는 비즈니스 로직을 확장하여 구성 요소를 사용자 지정할 수 있도록 지원합니다. 각 구성 요소의 비즈니스 로직에는 확장하고 재정의할 수 있는 사물 템플릿의 재정의 가능 서비스가 포함되어 있습니다. 이 구성 요소에 대한 재정의 가능 서비스는 다음 표에 자세히 설명되어 있습니다.
각 서비스에 대한 반환 및 매개 변수의 예는 사용자 지정 서비스에 대한 입력/출력의 예를 참조하십시오.
이름
설명
GetConfigurations
드로잉에 사용할 수 있는 구성을 반환합니다.
매개 변수: 없음
반환: JSON
GetImplementationSettings
모두 다운로드 버튼에 대한 데이터를 포함하는 설정 데이터를 반환합니다. 이 데이터는 드로잉 구현에서 내부적으로 사용됩니다.
매개 변수: 없음
반환: JSON
GetItems
백엔드 시스템의 드로잉 목록을 해당 속성 및 값과 함께 반환합니다.
매개 변수:
input(필수 사항) - 백엔드 시스템에서 불러올 데이터의 입력 ID와 백엔드 시스템에 대한 어댑터 정보를 포함하는 CCO 형식의 JSON입니다.
configuration(필수 사항) - 수정 매니저 리소스에서 가져온 최종 결합된 구성을 포함하는 JSON입니다.
반환: CCO 형식의 JSON
DefHookGetImplementationActionsList
GetImplementationSettings 서비스의 implementationActions 키 아래에 나열된 작업을 반환합니다.
매개 변수: 없음
반환: JSON:Array
DefHookImplementationConfigurationDefinitionGroup
사용 가능한 사용자 지정 구성을 포함하여 드로잉 구현 정의를 반환합니다. getDrawingFormatsgetDrawingOptions 구성 등록 정보에 대한 정의를 포함합니다.
매개 변수: 없음
반환: JSON:Array
구현 정의 
{
"array":[
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"directDefinition":[
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{

}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Textbox"
},
"mandatory":false,
"key":"actionBarConfigurationJSON"
}
]
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.DefinitionGroup"
},
"mandatory":false,
"key":"actionBarConfiguration"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"additionalDefinition":[
{
"directDefinition":[
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{

}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Textbox"
},
"mandatory":false,
"key":"fieldTitleOverride"
}
],
"key":"itemListAttributesDefinition"
},
{
"directDefinition":[

],
"key":"implementationAttributesDefinition"
}
],
"updateServiceName":"",
"minimumSelectedAttributes":null,
"supportedTypes":{
"data":[

],
"allowSubsetForTailoring":false
},
"addServiceName":"",
"maximumSelectedAttributes":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.AttributesSelector"
},
"mandatory":true,
"key":"attributes"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"options":[
{
"label":"1",
"key":"1"
},
{
"label":"2",
"key":"2"
},
{
"label":"3",
"key":"3"
},
{
"label":"4",
"key":"4"
},
{
"label":"5",
"key":"5"
},
{
"label":"6",
"key":"6"
},
{
"label":"7",
"key":"7"
},
{
"label":"8",
"key":"8"
},
{
"label":"9",
"key":"9"
},
{
"label":"-1",
"key":"-1"
}
],
"updateServiceName":null,
"addServiceName":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Dropdown"
},
"mandatory":false,
"key":"defaultExpansionLevel"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"additionalDefinition":[
{
"directDefinition":[
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"options":[
{
"description":"Sort column in ascending order",
"label":"[[PTC.Nav.ItemList.SortOrder.Asc]]",
"key":"asc"
},
{
"description":"Sort column in descending order",
"label":"[[PTC.Nav.ItemList.SortOrder.Dsc]]",
"key":"dsc"
}
],
"updateServiceName":null,
"addServiceName":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.RadioButton"
},
"mandatory":false,
"key":"defaultSortDirection"
}
],
"key":"itemListDefaultSortFieldDefinition"
}
],
"updateServiceName":"",
"minimumSelectedAttributes":null,
"supportedTypes":{
"data":[

],
"allowSubsetForTailoring":false
},
"addServiceName":"",
"maximumSelectedAttributes":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.AttributesSelector"
},
"mandatory":false,
"key":"defaultSortFields"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"default":true,
"true":{
"additionalDefinition":[
{
"directDefinition":[
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{

}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Textbox"
},
"mandatory":false,
"key":"searchHintText"
}
],
"key":"itemListSearchDefinition"
}
],
"label":"[[PTC.Nav.Yes]]"
},
"false":{
"additionalDefinition":[

],
"label":"[[PTC.Nav.No]]"
},
"label":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Toggle"
},
"mandatory":false,
"key":"enableSearch"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"additionalDefinition":[
{
"directDefinition":[
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"dynamicallySetTypeServiceName":"GetFilterTypeDefinitionForFilterField",
"type":{
"enum":{
"options":[

],
"updateServiceName":null,
"dynamicallySetOptionsServiceName":null,
"addServiceName":null,
"multiSelect":null
}
}
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.FieldFilter"
},
"mandatory":false,
"key":"defaultSelectedFilterValues"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{

}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Textbox"
},
"mandatory":false,
"key":"filterLabelOverride"
}
],
"key":"itemListFilterFieldDefinition"
}
],
"updateServiceName":"",
"minimumSelectedAttributes":0,
"supportedTypes":{
"data":[

],
"allowSubsetForTailoring":false
},
"addServiceName":"",
"maximumSelectedAttributes":1
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.AttributesSelector"
},
"mandatory":false,
"key":"filterFields"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"directDefinition":[
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"options":[
{
"description":"[[PTC.Nav.BusinessLogicCommon.Configuration.AllFormats_HelpText]]",
"label":"[[PTC.Nav.BusinessLogicCommon.Configuration.AllFormats]]",
"key":"allFormats"
},
{
"additionalDefinition":[
{
"directDefinition":[
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{

}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Textbox"
},
"mandatory":true,
"key":"formats"
}
],
"key":"formatsDefinition"
}
],
"description":"[[PTC.Nav.BusinessLogicCommon.Configuration.SpecifiedFormats_HelpText]]",
"label":"[[PTC.Nav.BusinessLogicCommon.Configuration.SpecifiedFormats]]",
"key":"specifiedFormats"
}
],
"updateServiceName":null,
"addServiceName":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.RadioButton"
},
"mandatory":true,
"key":"fileFormatsSelection"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"options":[
{
"description":"[[PTC.Nav.Drawings.Configuration.LastModified_HelpText]]",
"label":"[[PTC.Nav.Drawings.Configuration.LastModified]]",
"key":"lastModified"
},
{
"description":"[[PTC.Nav.Drawings.Configuration.All_HelpText]]",
"label":"[[PTC.Nav.Drawings.Configuration.All]]",
"key":"all"
}
],
"updateServiceName":null,
"addServiceName":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.RadioButton"
},
"mandatory":true,
"key":"drawingFileSelection"
}
]
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.DefinitionGroup"
},
"mandatory":false,
"key":"implementationConfiguration"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{

}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Textbox"
},
"mandatory":false,
"key":"label"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"minValue":50,
"default":500,
"maxValue":10000,
"step":50
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Number"
},
"mandatory":false,
"key":"maxNumberOfRowsInGrid"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"options":[
{
"description":"Disallow items selection",
"label":"[[PTC.Nav.ItemList.SelectionType.None]]",
"key":"none"
},
{
"description":"Allow single item selection",
"label":"[[PTC.Nav.ItemList.SelectionType.Single]]",
"key":"single"
},
{
"description":"Allow multiple items selection",
"label":"[[PTC.Nav.ItemList.SelectionType.Multiple]]",
"key":"multi"
}
],
"updateServiceName":null,
"addServiceName":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.RadioButton"
},
"mandatory":false,
"key":"selectionType"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"default":true,
"true":{
"additionalDefinition":[
{
"directDefinition":[
{
"property":{
"options":[
[
{
"label":"[[PTC.Nav.ItemList.ExportCSVActionLabel]]",
"key":"exportToCsv"
},
{
"label":"[[PTC.Nav.ItemList.ExportCSVAsExcelActionLabel]]",
"key":"exportToExcel"
}
]
]
},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"default":"",
"overflow":null,
"minimumSelectedItems":null,
"options":[

],
"updateServiceName":null,
"addServiceName":null,
"constraints":{

}
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.CheckboxArray"
},
"mandatory":false,
"key":"exportTypes"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"default":false,
"true":{
"additionalDefinition":[

],
"label":null
},
"false":{
"additionalDefinition":[

],
"label":null
},
"label":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Toggle"
},
"mandatory":false,
"key":"exportUnFilteredData"
}
],
"key":"itemListExportDefinition"
}
],
"label":"[[PTC.Nav.Yes]]"
},
"false":{
"additionalDefinition":[

],
"label":"[[PTC.Nav.No]]"
},
"label":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Toggle"
},
"mandatory":false,
"key":"showExportAction"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"listLabel":null,
"showFilter":false,
"minimumSelectedItems":0,
"showDropDown":false,
"options":[
{
"label":"[[PTC.Nav.BusinessLogicCommon.Configuration.DownloadAll]]",
"key":"downloadZip"
}
],
"updateServiceName":null,
"addServiceName":null,
"showClearSelectedItems":false,
"dropDownLabel":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.List"
},
"mandatory":false,
"key":"showImplementationActions"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"default":"alphanumeric",
"options":[
{
"description":"Alphanumeric sort order",
"label":"[[PTC.Nav.ItemList.SortOrder.Alphanumeric]]",
"key":"alphanumeric"
},
{
"description":"Natural sort order",
"label":"[[PTC.Nav.ItemList.SortOrder.Natural]]",
"key":"natural"
}
],
"updateServiceName":null,
"addServiceName":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.RadioButton"
},
"mandatory":false,
"key":"sortOrder"
},
{
"property":{

},
"value":{
"initializationData":{
"version":"1.0.0",
"constraints":{

},
"properties":{
"default":false,
"true":{
"additionalDefinition":[

],
"label":"[[PTC.Nav.Yes]]"
},
"false":{
"additionalDefinition":[

],
"label":"[[PTC.Nav.No]]"
},
"label":null
}
},
"elementVersion":"1.0.0",
"elementName":"PTC.Nav.DynamicForm.Toggle"
},
"mandatory":false,
"key":"waitForInput"
}
]
}
도움이 되셨나요?