123.cmd
# 123.cmd : 후디니가 시작될 때 실행되는 셋업파일
#
# This file gets sourced whenever Houdini Master starts up
# 이 파일은 후디니가 실행될 때 자동으로 Source명령어를 통해 실행된다.
# Create some useful aliases
# 알리아스 만들기
# Variables set with the set command are local to this script only.
# Therefore, we don't have to worry about cleaning up.
# 이렇게 알리아스를 만들면, 알리아스를 세션이 끝날때 지워야하는 염려가 없다.
alias cd opcf
alias h history
alias ls opls
alias pwd oppwf
alias rm oprm
alias cp opcp
alias hython python
#
# Turn off aliases for the rest of this file in case of conflicts
#
set noalias = 1
#
# Create a default /img/comp1 so that we can easily put down COPs
# 임시로 cop에 노드 컨테이너를 만들어 준다. 샘플정도로 생각하면 되겠다.
#
opcf /img
opadd img comp1
oplocate -x 0 -y 0 comp1
opcf /
#
# Set up the default scene when Houdini starts up
# 후디니가 로드되면 기본적으로 셋팅이 되는 파일을 로드한다.
#
source defaultscene.cmd
#
# UI control commands
#
# Set the prompt to display the current directory followed by an arrow
# 이 명령어는 후디니의 texport가 실행되었을 때, 커멘드 프롬프트의 형태를 정의 한다.
prompt '`strcat(oppwf(), " -> ")`'