Without knowing the implied contract of a Recipe function, it is hard to know (or debug) where all the values are supposed to come from. In some cases, there may be values for an existing Recipe that you could customize if you just knew they were there (and currently not specified).
Recipe Logging is a mechanism that will print to the command line every piece of data that is being retrieved by the Recipe. It will give the source of the data (for example, the component database, the Recipe Section, the Properties palette prompt), and whether the value was found or not. Using this information, you can reverse-engineer what data is expected by the Recipe.
The following is an example produced by running the 02/Brick Paver Recipe with Recipe Logging turned on.
Command: dtlcompmanager RCP LOG > Source: DatabaseRCP LOG > Source: DatabaseField: WIDTH Type: double Required: True Found: True Value: 4.00000RCP LOG > Source: DatabaseField: LENGTH Type: double Required: True Found: True Value: 8.00000RCP LOG > Source: <Data>Field: THICKNESS Type: double Required: True Found: True Value: 1.50000RCP LOG > Source: PromptContext: Item[@idStr='boundary']/Params Tag: Chamfer Type: double Required: False Found: True Value: 0.00000RCP LOG > Source: PromptField: coarseOutline Type: bool Required: False Found: FalseRCP LOG > Source: <Data>Field: doHatch Type: bool Required: False Found: True Value: TrueRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadHatchProps Tag: HatchAlias Type: str Required: False Found: True Value: brickRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadHatchProps Tag: PatternType Type: str Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadHatchProps Tag: PatternName Type: str Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadHatchProps Tag: PatternAngle Type: double Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadHatchProps Tag: ScaleMultiplier Type: double Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadHatchProps Tag: PatternScale Type: double Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadEntityProps Tag: Layer Type: str Required: False Found: True Value: A-Detl-PattRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadEntityProps Tag: ColorIndex Type: long Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadEntityProps Tag: Linetype Type: str Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadEntityProps Tag: LinetypeScale Type: double Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='infill']/AcadEntityProps Tag: Lineweight Type: long Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='block']/AcadEntityProps Tag: Layer Type: str Required: False Found: True Value: A-Detl-MedmRCP LOG > Source: <Data>Context: Item[@idStr='block']/AcadEntityProps Tag: ColorIndex Type: long Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='block']/AcadEntityProps Tag: Linetype Type: str Required: False Found: FalseRCP LOG > Source: <Data>Context: Item[@idStr='block']/AcadEntityProps Tag: LinetypeScale Type: double Required: False Found: FalseRCP LOG > Source: <Options>Context: Item[@idStr='block']/AcadEntityProps Tag: Lineweight Type: long Required: False Found: FalseRCP LOG > Source: <Options>Context: Jig Tag: IsOrientedX Type: bool Required: False Found: FalseRCP LOG > Source: <Options>Context: Jig Tag: PromptStart Type: str Required: False Found: FalseRCP LOG > Source: <Options>Context: Jig Tag: PromptEnd Type: str Required: False Found: FalseRCP LOG > Source: <Options>Context: Jig Tag: AllowXFlip Type: bool Required: False Found: FalseRCP LOG > Source: <Options>Context: Jig Tag: AllowYFlip Type: bool Required: False Found: FalseRCP LOG > Source: <Options>Context: Jig Tag: AllowCount Type: bool Required: False Found: FalseRCP LOG > Source: <Options>Context: Jig Tag: PromptCount Type: str Required: False Found: True Value: Number of coursesRCP LOG > Source: <Options>Context: JigEnt Tag: IsOrientedX Type: bool Required: False Found: FalseRCP LOG > Source: <Options>Context: JigEnt Tag: Width Type: double Required: False Found: FalseStart point or [Xflip/Yflip/Count]: End point or [Xflip/Yflip/Count]: <Ortho on> Start point or [Xflip/Yflip/Count]:Context: JigEnt Tag: GapSpacing Type: double Required: False Found: True Value: 0.25000
To turn Recipe Logging on, use the REGEDIT program to change a value in the Win32 Registry. The entry can be found in:
HKEY_CURRENT_USERSoftwareAutodeskAutoCADR17.1ACAD-XXXXProfilesAutoCAD ArchitecturePreferencesAecRcpBase50RecipeLog
Change this value to "1" to turn it on.
Change this value to "0" to turn it off.